We don't bite newbies here... much | |
PerlMonks |
Re: Perl Syntaxby SuicideJunkie (Vicar) |
on Oct 30, 2013 at 20:59 UTC ( [id://1060448]=note: print w/replies, xml ) | Need Help?? |
The best way to find out is to print the results as you go: c:> perl -e "my $new = [$a,$b]; print qq*new is: * .$new . qq*\n 0+new is:*. (0+$new). qq*\n*; which gives:
As for line three, note that there is a for in there which loops over ($a, $b).
In Section
Seekers of Perl Wisdom
|
|