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

Re^4: Modules as executable scripts?

by RonW (Parson)
on Mar 21, 2017 at 22:07 UTC ( #1185384=note: print w/replies, xml ) Need Help??


in reply to Re^3: Modules as executable scripts?
in thread Modules as executable scripts?

True, but then it's "weird" to use from a program or other module:

BEGIN { require "Modulino.pl"; Modulino::import; }

instead of the usual:

use Modulino;

I think it's better to put up with the weirdness in the modulino than forcing weirdness into programs and other modules that try to use the modulino.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2021-06-16 21:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (81 votes). Check out past polls.

    Notices?