Rule of thumb: "package" declarations should go at the top of your module. Yes, they don't have to, but that's an advanced topic for when you know what you're doing ;-) I may consider myself advanced, but I still always put the (first) package statement as the very very first line in a module.
In reply to Re: how to use Data::Dumper inside a module?
by Tanktalus
in thread how to use Data::Dumper inside a module?
by tphyahoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |