-
-
Save jsarenik/11392615 to your computer and use it in GitHub Desktop.
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
use warnings; | |
use Data::Dumper; | |
sub a { 5 }; | |
%a = (a=>1,'b',2); | |
@b = ('a'=>1=>'b'=>2); | |
print Dumper %a; | |
#print $a{'a'},"\n"; | |
print Dumper @b; | |
print $b[3],"\n"; | |
$obj = bless({'unique_id'=>'123', 'attr'=> {'col' => 'black', 'things' => [qw(this that etc)]}}, 'MY_class'); | |
print Dumper $obj; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment