Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^4: loading modules using 'use'

by angshuman (Novice)
on Jul 13, 2010 at 03:15 UTC ( [id://849148]=note: print w/replies, xml ) Need Help??


in reply to Re^3: loading modules using 'use'
in thread loading modules using 'use'

That was just a sample module... Lets assume its got plenty of subroutines written in it, which are also included in the @EXPORT list. Then ???

Replies are listed 'Best First'.
Re^5: loading modules using 'use'
by ikegami (Patriarch) on Jul 13, 2010 at 03:42 UTC
    With BEGIN, @EXPORT will be initialised before the subs are compiled. Without, after.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-04-24 00:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found