Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Perl doesn't give error when module is not found 2

by soonix (Chancellor)
on Mar 27, 2024 at 14:59 UTC ( [id://11158530]=note: print w/replies, xml ) Need Help??


in reply to Perl doesn't give error when module is not found 2

Jenda and ikegami discourage running modules directly. In general, they are right, but:
Just because I (and they, obviously ;-)) don't know a legitimate reason to use modulinos and the like, doesn't mean there is no legitimate reason - and what isn't legitimate for one, might well be for someone else.
  • Comment on Re: Perl doesn't give error when module is not found 2

Replies are listed 'Best First'.
Re^2: Perl doesn't give error when module is not found 2 (modulinos)
by eyepopslikeamosquito (Archbishop) on Mar 27, 2024 at 22:42 UTC

    Just because I (and they, obviously ;-)) don't know a legitimate reason to use modulinos and the like

    Though modulinos are too sneaky/clever for my tastes ("scripts should use modules, not pretend to be modules"), they do have some well-respected fans, led by their illustrious inventor brian_d_foy, as described in more detail at modulino References.

    My preference is keep my script mainlines as short as is practicable, with all the heavy lifting done in (unit-tested) module/s.

    👁️🍾👍🦟

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (1)
As of 2026-02-11 18:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.