- or download this
#use strict;
#use warnings;
...
%$h = (name => "Jim", age => 34);
print $h->{name}, "\n";
print $fred{age}, "\n";
- or download this
Jim
34
- or download this
use strict;
use warnings;
...
%$h = (name => "Jim", age => 34);
print $h->{name}, "\n";
print $fred{age}, "\n";
- or download this
Can't use string ("fred") as a HASH ref while "strict refs" in use at
+pbeck2 line 8.
- or download this
use strict;
use warnings;
...
print $h->{name}, "\n";
}
print $fred{age}, "\n";
- or download this
Jim
34