Created
April 16, 2014 13:03
-
-
Save breezhang/10871265 to your computer and use it in GitHub Desktop.
Symbol Table References from camel
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
# | |
#Symbol Table References | |
# | |
use feature ":5.14"; | |
use Scalar::Util qw(refaddr); | |
use Data::Dumper::Concise; | |
my $a1 =sub { | |
print "..............."; | |
}; | |
my %h1 = qw{a 1 b 2}; | |
*h2 = \%h1; | |
*a1 = \qw{a 1 b 2}; | |
my @a1 =(1,2,3,4); | |
#my %a1 = qw (one 1 two 2); | |
# | |
open FH,">","C:\\temp\afile"; | |
say Dumper *ENV{HASH}; | |
say Dumper $a1; | |
say Dumper @a1; | |
say Dumper %a1; | |
say Dumper *FH{GLOB}; | |
say Dumper *STDIN{FORMAT}; | |
say Dumper *INC{ARRAY}; | |
say Dumper *INC{HASH}; | |
close FH; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment