Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: filename dynamic

by Anonymous Monk
on May 12, 2014 at 15:25 UTC ( [id://1085807]=note: print w/replies, xml ) Need Help??


in reply to filename dynamic

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1085807]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-23 19:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found