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

Re^4: Subroutines not exporting? Why?

by Anonymous Monk
on Jul 07, 2015 at 19:10 UTC ( #1133595=note: print w/replies, xml ) Need Help??

in reply to Re^3: Subroutines not exporting? Why?
in thread Subroutines not exporting? Why?

My reference was not Perl-specific.

Yeah, it took me a while to wrap my head around Perl's compilation / runtime phases, too. One thing in particular that seems to throw people off sometimes is that use is essentially like an eval inside of a BEGIN. I recommend this reading because that's what helped me understand: BEGIN, UNITCHECK, CHECK, INIT and END in perlmod, and in this order: use, require, do, and eval.

Replies are listed 'Best First'.
Re^5: Subroutines not exporting? Why?
by marinersk (Priest) on Jul 08, 2015 at 13:37 UTC

    You know, I've never really studied it in detail. Maybe it's time -- thanks for the references!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2021-04-20 11:53 GMT
Find Nodes?
    Voting Booth?

    No recent polls found