Created
March 30, 2012 00:06
-
-
Save kotaroito/2245108 to your computer and use it in GitHub Desktop.
Difference between array and list on Perl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ perl -E 'say scalar (@array=qw(foo bar piyo))' | |
3 | |
$ perl -E 'say scalar qw(foo bar piyo)' | |
piyo | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment