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
624 views
1 answer
    I'm trying to use perl (v5.14.2) via a bash shell (GNU Bash-4.2) in Kubuntu (GNU/Linux) to search ... spot the issue or suggest a solution? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
527 views
1 answer
    I am passing arguments to redirect_to like $c->redirect_to('named', foo => 'bar'); or $c->redirect_to(' ... of foo in the target controller. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
485 views
1 answer
    I just discovered that perl ignores space between the sigil and its variable name and was wondering if someone ... know anything about this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
710 views
1 answer
    I have never used Perl before and I have a basic question. my $string1 = "Hi. My name is Vlad. It is ... period. how can this be accomplished? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
572 views
1 answer
    I am considering this answer which uses a single array reference of points, where a point is a reference to ... clearer to the original setting? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
503 views
1 answer
    What is the difference between these settings? $SIG{CHLD} = 'IGNORE' $SIG{CHLD} = 'DEFAULT' $SIG{CHLD} = ' ... the reaper never sees the child. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
953 views
1 answer
    I have to create an exe from a Perl script. I installed ActivePerl-5.14.2.1402-MSWin32-x86-295342.msi How do I install pp? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
555 views
1 answer
    I'm writing a module for a moose object. I would like to allow a user using this object (or myself...) add some ... -fly stuff I'd like to add. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
477 views
1 answer
    While browsing the source code I saw the following lines: my @files_to_keep = qw (file1 file2); my %keep = map { + $_ = ... > 1, 'file2' => 1 }; See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
623 views
1 answer
    I've used Perl a bit for small applications and test code, but I'm new to networking and CGI. I get ... headers.cgi -H "HeaderAttribute: value" See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
508 views
1 answer
    I want to write a app that can be extended via plugins, using Perl and Moose. I know there are a ... about before implementing a plugin system? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
557 views
1 answer
    Is there an elegant way in Perl to find the newest file in a directory (newest by modification date)? What I ... There must be a better way. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
487 views
1 answer
    Reformulating the question, because @optional asked me it wasn't clear and linked one HTML::Mason based solution Four ... modify in the above? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
756 views
1 answer
    I'm sure I've done this in the past and there is something small I'm forgetting, but how can I sort a ... 24,male name,25,female name,27,female See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
596 views
1 answer
    I am trying to get the names of all first level directories under given path. I tried to use File::Find but ... Can someone help me with that? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
596 views
1 answer
    my @a = (1,2,3,4,5); print @a; #output: 12345 print " "; print "@a"; #output: 1 2 3 4 5 Printing an ... ; instead of print "@a"; and vice versa. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
983 views
1 answer
    if((scalar keys ($this->{'libraries'}->{$y}->{'cellHash'})) == 0){ This is the line where I am ... am not posting the code for obvious reasons. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
437 views
1 answer
    Which package from CPAN should I use to send mail? Sometime the timtowtdi approach is very tiring. For ... or popularity billboard somewhere? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
447 views
1 answer
    Perl has some special handling for the readline function (and the equivalent <> I/O operator) where it treats the ... ) in all the legacy code. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
422 views
1 answer
    opendir(DIR,"$pwd") or die "Cannot open $pwd "; my @files = readdir(DIR); closedir(DIR); foreach my $file (@files) ... $mtime"; print " "; } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
626 views
1 answer
    I'm trying to capture output from using Perl's system function to execute and redirect a system command's ouptut ... of doing the same thing? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
602 views
1 answer
    Perl has some special handling for the readline function (and the equivalent <> I/O operator) where it treats the ... ) in all the legacy code. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
506 views
1 answer
    opendir(DIR,"$pwd") or die "Cannot open $pwd "; my @files = readdir(DIR); closedir(DIR); foreach my $file (@files) ... $mtime"; print " "; } } See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
589 views
1 answer
    I'm trying to capture output from using Perl's system function to execute and redirect a system command's ouptut ... of doing the same thing? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
493 views
1 answer
    Perl print 2 % -18; --> -16 Tcl puts [expr {2 % -18}] --> -16 but VBScript wscript.echo 2 mod -18 --> 2 Why the difference? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
530 views
1 answer
    How can I fetch the last row that was inserted using DBI (DBD::mysql)? Code sample: my $sth = $dbh->prepare(' ... and n0rd for your answers. :-) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
673 views
1 answer
    Given the following code #!/usr/bin/perl use Data::Dumper; my %hash; my @colos = qw(ac4 ch1 ir2 ird kr3); ... if exists. Where did I go wrong? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
607 views
1 answer
    I have set makepl_arg [INSTALLDIRS=site PREFIX=~/perl] mbuildpl_arg [--install_base ~/perl] in the CPAN.pm ... modules in the same directory? 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

...