We don't bite newbies here... much | |
PerlMonks |
Re: filename dynamicby Anonymous Monk |
on May 12, 2014 at 15:25 UTC ( [id://1085807]=note: print w/replies, xml ) | Need Help?? |
And note that the name space the function appears in is the name space given in the package statement (if any) of the .pm file you just loaded, and is not necessarily derived from the file name at all. It is true that the normal Perl module loading mechanism needs file Foo/Bar/Baz.pm to provide name space Foo::Bar::Baz, but when you are hand-loading modules like that, anything goes.
In Section
Seekers of Perl Wisdom
|
|