On Oct 11, 6:43 am, [EMAIL PROTECTED] (Siva Prasad) wrote: > Hi Gurus, > > I have a written a package (and named it as Connection.pm). > > I am calling this module in a perl script and everything is working fine. > > Now How can I make the connection.pm as module so that I can install it as > other modules that are available in CPAN.
Take a look at perldoc perlnewmod which goes over the steps to create a module installable in the conventional manner. At is most basic, type: h2xs -AX -n Connection which will create several directories and skeleton files for you to use. Replace the created Connection.pm with your Connection.pm in the lib directory, and run perl Makefile.PL make dist in the main directory to create your .tar.gz file Paul Lalli -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/