Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Packages and Modules

Status
Not open for further replies.

Loon

Programmer
May 24, 2000
100
0
0
GB
Folks,<br><br>&nbsp;&nbsp;I am wanting to separate some perl code into separate modules to make it more maintainable and resuable. However after reading the appropriate sections in Programming Perl (O'Reilly) and looking at the Faqs & Tutorials at perl.com. I'm still not too clear on the definition bit and what it all means, the @EXPORT and EXPORT_OK, all that stuff. <br><br>&nbsp;&nbsp;Could someone take the time to briefly run through how to declare the module and any global variables exported/functions to export that sort of thing. <br><br>&nbsp;&nbsp;Might make a good faq.... :)<br><br>Many thanks in advance<br>Loon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top