miller has asked for the wisdom of the Perl Monks concerning the following question:
if I do the print without changing anything it works but when i try to remove the first 2 digits if fails and the output i get is :$_=~ /^' PJOB='(.*)' PSET='(.*)' PJNO='(.*)' WORKDAY='/; $predlnr=$3; $predlnr =~ s/^00//; $jobstation=$jobsetstation{$2}; print "follows $jobstation\#$2.${1}_$predlnr\n\n\n";
Edited 2003-03-05 by mirod: changed title
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: stupid $1
by diotalevi (Canon) on Mar 04, 2003 at 17:02 UTC | |
|
Re: stupid $1
by pfaut (Priest) on Mar 04, 2003 at 17:03 UTC | |
by merlyn (Sage) on Mar 04, 2003 at 20:58 UTC | |
by Cody Pendant (Prior) on Mar 05, 2003 at 00:55 UTC | |
by merlyn (Sage) on Mar 05, 2003 at 02:00 UTC |