in reply to how to use Data::Dumper inside a module?

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.

  • Comment on Re: how to use Data::Dumper inside a module?

Replies are listed 'Best First'.
Re^2: how to use Data::Dumper inside a module?
by tphyahoo (Vicar) on Feb 11, 2005 at 15:24 UTC
    Yes! That worked! Thanks Tanktalus!