We don't bite newbies here... much | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
>
My::Dumper() would both call Data::Dumper::Dumper()
It's definitely possible to tell in which package a sub was declared. I saw it in the book perlhacks and IIRC it's available in B The problem I see is that My:: is global, you would need the hint hash to restrict it's effect only to the file importing My.
Cheers Rolf
In reply to Re^2: Making it clearer to say that a sub is defined within current package
by LanX
|
|