Created
March 6, 2009 13:48
-
-
Save tyru/74912 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| use strict; | |
| use warnings; | |
| local $\ = "\n"; | |
| 1->[0] = 100; | |
| print 1->[0]; # => 100 | |
| print @{main::1}; # => 100 | |
| push @{1}, qw(foo bar); | |
| print join ', ', @{main::1}; # => 100, foo, bar | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment