http://www.perlmonks.org?node_id=997254


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.

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