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

Re^3: Exporting use strict/warnings into main::

by haj (Vicar)
on May 19, 2020 at 10:07 UTC ( [id://11116934]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Exporting use strict/warnings into main::
in thread Exporting use strict/warnings into main::

I'd say that importing strict into your caller's scope is acceptable if the package in question defines the way you write your code anyway, like the examples given by haukex do, but presumptuous in an ordinary OO package. But maybe that's what you mean with "lower-level".

  • Comment on Re^3: Exporting use strict/warnings into main::

Replies are listed 'Best First'.
Re^4: Exporting use strict/warnings into main::
by 1nickt (Canon) on May 19, 2020 at 18:46 UTC

    Precisely.


    The way forward always starts with a minimal test.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-25 22:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found