in reply to what are the requiremetns for packaging
What you need do is either access your subs using a fully qualified name (eg. testpm::getList), export your subroutines to the main namespace using Exporter, or create your module as an object and turn your subs into methods (explained in perlboot, perltoot, perltooc, and perlbot).
If you choose the object method then I would also recommend TheDamian's book Object Oriented Perl
| Mynd you, mønk bites Kan be pretti nasti... |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: what are the requiremetns for packaging
by Ananda (Pilgrim) on Oct 28, 2002 at 07:11 UTC |