Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Including modules and pragmas in caller's scope via use

by Haarg (Curate)
on Aug 01, 2014 at 22:34 UTC ( #1095974=note: print w/replies, xml ) Need Help??


in reply to Re^2: Including modules and pragmas in caller's scope via use
in thread Including modules and pragmas in caller's scope via use

The documentation could use some improvements for this. The better syntax would be:
autodie->import::into(1);
This imports to the package/file/line at caller level 1, which matches what you are doing manually.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2021-11-29 06:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?