Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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 ( #997285=note: print w/replies, xml ) Need Help??


in reply to Re: How to export multiple packages in one file to another Perl program?
in thread 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.

Aha, its a classed up version of RTFM/JFGI

  • Comment on Re^2: How to export multiple packages in one file to another Perl program?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997285]
help
Chatterbox?
[1nickt]: choroba Is it a safe assumption that if there is a threaded perl then the user will want to use Thread::Queue?
[hippo]: Why not?
[1nickt]: That's good! I suppose the cpanfile would be the same however the app distro is structured ...
[1nickt]: hippo no reason why not other than wanting to check an assumption :-)
[hippo]: For a self-contained application which can therefore ensure thread safety it seems like a sensible approach.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (19)
As of 2017-10-18 13:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (244 votes). Check out past polls.

    Notices?