in reply to Re^12: Perl vs C
in thread Perl vs C
is what I would have expected, the number of things in @xyz.@xyz = ( 'a', 'b', 'c' ); print scalar (@xyz); #prints 3
Is different that I would have expected.print(scalar( ( 'a', 'b', 'c' ) )); # c
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^14: Perl vs C
by ikegami (Patriarch) on Mar 16, 2009 at 17:21 UTC | |
by Marshall (Canon) on Mar 16, 2009 at 17:53 UTC | |
by JavaFan (Canon) on Mar 16, 2009 at 18:03 UTC | |
by Marshall (Canon) on Mar 16, 2009 at 18:14 UTC | |
by Corion (Patriarch) on Mar 16, 2009 at 18:17 UTC |