build perl modules

2005-03-16 Thread Mahantesh Hongal
Hi, Can anybody let me know how to create our own modules in perl. Thanks in advance... Mahantesh V H -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: build perl modules

2005-03-16 Thread Chris Devers
On Wed, 16 Mar 2005, Mahantesh Hongal wrote: > Can anybody let me know how to create our own modules in perl. Yes. (Hint, try Google, try introductory books (_Learning Perl_), try advanced books (_Object-Oriented Perl_), try examining other modules.) -- Chris Devers -- To unsubscribe, e-

RE: build perl modules

2005-03-16 Thread Moon, John
Hi, Can anybody let me know how to create our own modules in perl. Thanks in advance... Mahantesh V H The simple answer is: Create a file for the "sub" and save as a ".pm"... To include it in you main program... use lib "where/you/saved/the/sub"; use sub_you_saved; &sub_use_saved; That s

Re: build perl modules

2005-03-16 Thread Nicholas . Montpetit
Chris Devers <[EMAIL PROTECTED]> wrote on 03/16/2005 06:27:42 AM: > On Wed, 16 Mar 2005, Mahantesh Hongal wrote: > > > Can anybody let me know how to create our own modules in perl. > > Yes. > > (Hint, try Google, try introductory books (_Learning Perl_), try > advanced books (_Object-Oriented

Re: build perl modules

2005-03-16 Thread Steve Bertrand
>>> Can anybody let me know how to create our own modules in perl. >>> >> >> Yes. >> >> >> (Hint, try Google, try introductory books (_Learning Perl_), try >> advanced books (_Object-Oriented Perl_), try examining other >> modules.) >> > > Another good book is _Learning Perl Objects, References an

RE: build perl modules

2005-03-16 Thread Charles K. Clarkson
Mahantesh Hongal wrote: : Can anybody let me know how to create our own modules in perl. What would you like to place inside the modules? You can limit yourself to just subs or you can add data, methods, and objects. What is your intended end use of this module? H

Re: build perl modules

2005-03-16 Thread Peter Scott
On Wed, 16 Mar 2005 08:54:33 -0500, Steve Bertrand wrote: Can anybody let me know how to create our own modules in perl. >> Another good book is _Learning Perl Objects, References and Modules_, >> Schwartz and Phoenix. I've owned the book for almost a year, and I >> still refer to it all th

Re: build perl modules

2005-03-16 Thread Wiggins d'Anconia
Peter Scott wrote: On Wed, 16 Mar 2005 08:54:33 -0500, Steve Bertrand wrote: Can anybody let me know how to create our own modules in perl. Another good book is _Learning Perl Objects, References and Modules_, Schwartz and Phoenix. I've owned the book for almost a year, and I still refer to it a

Re: build perl modules

2005-03-16 Thread Mahantesh Hongal
"Charles K. Clarkson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Mahantesh Hongal wrote: > > : Can anybody let me know how to create our own modules in perl. > > What would you like to place inside the modules? You can > limit yourself to just subs

RE: build perl modules

2005-03-16 Thread Charles K. Clarkson
Mahantesh Hongal wrote: : : Just I want to place all my subs (functions) in one file i.e., module : and want to refer as and when it is needed. I can use 'require' for : this purpose but in require technique code will be included at : runtime and even if our script is wo

RE : build perl modules

2005-03-16 Thread Jose Nyimi
> -Message d'origine- > De : Charles K. Clarkson [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 16 mars 2005 19:27 > À : beginners@perl.org > Objet : RE: build perl modules > > What you are describing is called "exporting" (or "importing"