> -----Original Message----- > From: AMORE,JUAN (HP-Roseville,ex1) [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 13, 2001 11:21 PM > To: Beginners@Perl. Org (E-mail) > Subject: Learning Packages: > > > Learning Packages: > Do's anyone know how to create a package in a filename called > StringPrint.pm. > I need to include in the Perl module a subroutine, called > print_str, that > prints > a string passed to the subroutine defined by the module.
That smells like homework, so here's some homework for you: Read perldoc perlmod. Actually read the whole thing, about 10 pages. Your answer is right in there. Gives you a great skeleton for a module. Good luck! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]