Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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
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 chilling in the Monastery: (5)
As of 2020-10-21 17:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (222 votes). Check out past polls.

    Notices?