Hi,

I would like to know which of this
is better and what is the pro and cons:

1. A file "mysub.pl" which stored
a subroutine, and later called by
main file using:  do "mysub.pl"

or

2. A file "mysub.pm" and called
in main file using : use "mysub.pm"

Thanks so much for your time

Regards,
Edward WIJAYA
SINGAPORE

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to