Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: use strict without typing use strict?

by eyepopslikeamosquito (Archbishop)
on May 26, 2021 at 10:01 UTC ( [id://11133051]=note: print w/replies, xml ) Need Help??


in reply to Re^2: use strict without typing use strict?
in thread use strict without typing use strict?

Ha ha, I see Modern::Perl contains a "odern" (sic) directory, in addition to a Modern directory, presumably to enable this hack to work with only one M:

perl -Modern::Perl script.pl

As an aside for CPAN authors, note that Release::Checklist cautions against adding developer convenience modules, such as Modern::Perl, as a dependency.

Replies are listed 'Best First'.
Re^4: use strict without typing use strict?
by LanX (Saint) on May 26, 2021 at 12:40 UTC
    > as a dependency.

    well I think he could put his own M.pm into the \lib of his own repository ... ?

    strict and warnings are not what I consider "deep" dependencies.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

    PS: though my.pm might be a better name, to avoid conflicts.

Re^4: use strict without typing use strict?
by bliako (Monsignor) on May 26, 2021 at 11:39 UTC

    good catch!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-23 21:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found