Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: Modules as executable scripts? (say no modulinos, an evil gimmick)

by Anonymous Monk
on Mar 21, 2017 at 22:56 UTC ( #1185385=note: print w/replies, xml ) Need Help??


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

It's true about "use", but "require" doesn't. And that could be the ticket for making modulinos less weird on the command line

Hi

modulinos are golf, which is a game, a gimmick, and not a feature to be used for work,

so say no modulinos , an evil gimmick )

If a user can be bothered to create a  symlink. I.e., /bin/something -> path_to_pm

Then the user can be bothered to create

cat>/bin/something use TheModule; TheModule::BinSomething( @ARGV );

Its literally no effort at all to accomplish, esp if bin/something is created by the module installation software

The only thing modulinos can accomplish is to substitute 1 symlink for 1 regular file -- what a ridiculous goal to write extra code for

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2023-04-01 02:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (77 votes). Check out past polls.

    Notices?