it showing Global symbol $href requires explicit package name.why this error.?
because you're copy/pasting the wrong things , without understanding what they mean
Why do you introduce $href? Think about that
Then see the documentation for keys function, how is it different from your example?
Try keys %hash
In reply to Re^5: Hash in Perl
by Anonymous Monk
in thread Hash in Perl
by rammohan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |