in reply to How to create a reusable routine ?

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

Replies are listed 'Best First'.