Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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?

Replies are listed 'Best First'.
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2016-12-05 09:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (75 votes). Check out past polls.