If you want to print a particular key in the hash you'll need to use this syntax:use Data::Dumper my $hash = parser(); print Dumper($hash);
Thanks,print $hash->{'key'};
In reply to Re: How to Print Return Data from Subroutine
by logie17
in thread How to Print Return Data from Subroutine
by bichonfrise74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |