Do you know where your variables are? | |
PerlMonks |
Re: Perl Module Useageby P0w3rK!d (Pilgrim) |
on Apr 11, 2003 at 15:50 UTC ( [id://249909]=note: print w/replies, xml ) | Need Help?? |
Greg,
It depends on many things. In general, you should try
to make your code modular and reusable as much as
possible. You never know when or where you'll be able
to use your code again. -Especially with constantly
changing business requirements. If you use the same
function elsewhere and just cut-and-paste, then you
create the problem of having to update n number
of copies of the same sub.
In Section
Seekers of Perl Wisdom
|
|