Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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
Domain Nodelet?
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: (3)
As of 2023-03-25 05:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (62 votes). Check out past polls.

    Notices?