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
630 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
533 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
489 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
715 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
578 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
507 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
959 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
562 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
483 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
628 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
512 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
563 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
493 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
760 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
601 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
601 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
989 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
443 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
451 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
429 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
632 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
609 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
510 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
596 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
498 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
537 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
677 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
613 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

...