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
665 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
551 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
528 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
846 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
559 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
471 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
518 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
543 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
635 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
488 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
527 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
489 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
444 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
591 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
714 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
457 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
563 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
403 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
446 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
496 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
491 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
652 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
581 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
551 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
823 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
423 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
473 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
588 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

...