Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Module's name and file's name

by beurive.denis (Novice)
on Jan 22, 2013 at 20:14 UTC ( #1014781=note: print w/ replies, xml ) Need Help??


in reply to Re: Module's name and file's name
in thread Module's name and file's name

Hello,

Thank you.

I know. That's why I use :

use MyModule;

That way, Perl finds the file "MyModule.pm".

But the the module's name is "HR" (as declared after "package"), not "MyModule".

I think that it messes up something.

I may be wrong.

What do you think ?

Thank you.


Comment on Re^2: Module's name and file's name
Download Code
Re^3: Module's name and file's name
by Your Mother (Canon) on Jan 22, 2013 at 20:47 UTC
    I think that it messes up something.

    It messes up clarity for the hacker who inherits your code. :P

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2014-11-23 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (129 votes), past polls