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:new is: ARRAY(0x2491b4) 0+new is:2396596
As for line three, note that there is a for in there which loops over ($a, $b).
In reply to Re: Perl Syntax
by SuicideJunkie
in thread Perl Syntax
by kbfiles
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |