Cheers,use strict; use warnings; my %h = (foo => 1, bar => 2, foobar => 3); my $hashref = \%h; print $hashref, "\n"; # prints HASH(0x.......); for (keys(%$hashref)) { print "$_ => $hashref->{$_}\n"; }
In reply to Re^3: How to Print Return Data from Subroutine
by syphilis
in thread How to Print Return Data from Subroutine
by bichonfrise74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |