Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged Perl

0 votes
686 views
1 answer
    I am on Perl 5.8 and am needing to assign a default value. I ended up doing this: if ($model->test ... to assign this more efficiently? Janie See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
573 views
1 answer
    @array = qw(one two three four five six seven eight); <Some command here> print @array; See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
539 views
1 answer
    I'm trying to maximize inserts per second. I currently get around 20k inserts/sec. My performance is actually degrading the ... (); $db->drop(); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
872 views
1 answer
    I have this script that encrypts a password but I don't know how to reverse it and decrypt it. This may ... ::makerandom_octet(Length=>16)); } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
571 views
1 answer
    How do I update all my CPAN modules to their latest versions? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
481 views
1 answer
    I have installed XAMPP on windows 10. Running Apache and mySQL, works fine. I was testing Perl, and it worked too. ... .gz : make NO cpan>``` See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
532 views
1 answer
    I'm aware of this idiom: eval { ... }; $DB::single = 1 if $@; ...but, as far as I can tell, ... , and examine the frames in the call stack? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
552 views
1 answer
    We recently switched to the new JSON2 perl module. I thought all and everything gets returned quoted now. But i ... if to quote a value? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
667 views
1 answer
    I've just installed WWW:Mechanize::Firefox, but when I tried to create an instance of this "class": my ... line 144 Can anyone help please? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
513 views
1 answer
    will the following code always work in perl ? for loop iterating over @array { # do something if ($condition) { ... all cases in perl. Thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
543 views
1 answer
    As the title indicates, is there anyway that I can automatically tell perl to include the following in every perl ... again. Thanks in advance. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
498 views
1 answer
    my $mind = ( 'a', 'little', 'confused' ); And it's because perldoc perlfaq4 explains the line above as follows ( ... So, is it a list or not? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
461 views
1 answer
    file.contain.query.txt ENST001 ENST002 ENST003 file.to.search.in.txt ENST001 90 ENST002 80 ENST004 50 Because ENST003 ... to grep -f ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
611 views
1 answer
    What character class or Unicode property will match any Unicode vowel in Perl? Wrong answer: [aeiouAEIOU]. (sermon here ... be a vowel will do. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
741 views
1 answer
    When I run git add -p, I see: Can't locate Git.pm in @INC (@INC contains: /usr/local/lib/perl5/ ... I installed the XCode Command Line Tools. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
472 views
1 answer
    I have a script that logs in and returns a session ID. I need the session ID so that I can populate an XML file ... What is the way to do this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
581 views
1 answer
    My Script is storing a ClearCase View in a Variable. To operate in this View, the Script needs to call itself ... start the View two times then. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
411 views
1 answer
    Do these three versions all behave differently? use open qw( :encoding(UTF-8) :std ); use open qw( :encoding(UTF8) ... open qw( :utf8 :std ); See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
453 views
1 answer
    In Windows there is a common problem: the filenames should be converted to local codepage, before they are passed to ... still not in the box? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
509 views
1 answer
    While scanning a directory with readdir, can you safely rename files without worrying about entering an infinite ... ask the question anyway. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
502 views
1 answer
    I use Perl on windows(Active Perl). I have a perl program to glob the files in current folder, and ... thing. (Simple ones welcome..) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
659 views
1 answer
    What is the reason, that using CONCAT() in pure UTF-8 environment MySQL still treats concatenated string (when some ... it as bug or feature? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
593 views
1 answer
    The Git::Hooks is a Perl framework for implementing Git/Gerrit hooks. What is the procedure to install and config it to use with Gerrit? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
560 views
1 answer
    for Ex : package test1 ; my %hash = ( a=> 10 , b => 30 ) ; 1; in Script : use test1 ; print ... How to make this avilable in script without sub See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
836 views
1 answer
    I'm using XML::LibXML to parse an XML document with a namespace. I therefore use XML::LibXML::XPathContext to ... to get the paired values? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
429 views
1 answer
    Is this the fastest (execution time) way to find the longest element in a list? #!/usr/bin/env perl use warnings; ... $a : $b } @array; say $l; See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
483 views
1 answer
    Why do I get after the "autodie" a different output? #!/usr/bin/env perl use warnings; use 5.012; use utf8; use ... # Output: # k?se # k?¤se See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
609 views
1 answer
    I use the ||= operator to provide default values for variables, like $x ||= 1; I tried to use this ... I provide arrays with default values? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...