in reply to Perl Syntax
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).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Syntax
by kbfiles (Initiate) on Oct 30, 2013 at 21:04 UTC | |
by derby (Abbot) on Oct 30, 2013 at 21:20 UTC | |
by davido (Cardinal) on Oct 30, 2013 at 21:45 UTC | |
by tobyink (Canon) on Oct 30, 2013 at 22:36 UTC |