use Exporter; or create object-oriented classes (see perlboot, perltoot, perltooc).
Ciao!
--bronto
Update: added links to doc
The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
--John M. Dlugosz
In reply to Re: How to create a reusable routine ?
by bronto
in thread How to create a reusable routine ?
by bar10der
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |