When the parser sees the line "print Dumper %test_hash;", the Dumper sub has not been imported yet, so it treats it as a filehandle.
I think that "print Dumper(%test_hash);" should work, but I'm too lazy to test it :).
Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."
In reply to Re: Order of 'use' statement in Data::Dumper
by psini
in thread Order of 'use' statement in Data::Dumper
by ~~David~~
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |