Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: How to export multiple packages in one file to another Perl program?

by sundialsvc4 (Abbot)
on Oct 04, 2012 at 16:09 UTC ( #997254=note: print w/ replies, xml ) Need Help??


in reply to How to export multiple packages in one file to another Perl program?

First of all, I suggest that each file should contain one package.

If you do need to publish constants, then I suggest that you surf to http://search.cpan.org and search for “constants” to find some good ideas to copy.   In general, look for a substantial package there and notice how they do it.


Comment on Re: How to export multiple packages in one file to another Perl program?
Re^2: How to export multiple packages in one file to another Perl program?
by Anonymous Monk on Oct 04, 2012 at 18:24 UTC

    First of all, I suggest that each file should contain one package.

    If you do need to publish constants, then I suggest that you surf to http://search.cpan.org and search for “constants” to find some good ideas to copy.   In general, look for a substantial package there and notice how they do it.

    Aha, its a classed up version of RTFM/JFGI

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (10)
As of 2014-10-24 16:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (133 votes), past polls