python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Inserting colon with join function after splitting. PERL
my $fruit;
my $quantity = <STDIN>;
my $results = split(/,|:/,$quantity);
foreach my $result(@results){
my ($fruit_name, $value) = split("=", @result);
if($fruit_name == "...
Iv4nT
Votes: 0
Answers: 2
in perl, what are the accepted terms for the script one invokes on the command line vs. the files that script requires?
I write perl scripts that require other perl scripts. The "require"d scripts contain subroutine definitions. (I am not yet at the level of writing my own package or module; I just require fi...

Jacob Wegelin
Votes: 0
Answers: 2
Perl and Catalyst: accessing maketext from a model
Edited to clarify / reflect what I've been trying:
I'm using CatalystX::I18N::* in order to be able to internationalise my site. I have that working nicely, and my site text is coming from $c->mak...

Chris
Votes: 0
Answers: 1
what does this perl -ane mean in the find command of shell script?
I have this find script
Find $DATA/ -mindepth 1 -maxdepth 1 |\
perl -ane ' s:.*/((.+)\-[0-9]{8,10}[a-z]*([_\-].*)?):$2: && print; ' | \
sort -u > $loctmp/speakers_all.txt
can any shell scr...

Hussain Wali
Votes: 0
Answers: 2