Mike,

I am not sure if I had understood your question correctly.   If you're
trying to run modules directly in Perl, it won't work.  Modules are like
dlls/libraries and they provide functionality to the executables (.pl files
in Perl).  So after writing the modules (.pm), you should write a script
(.pl) to invoke the functions inside the modules. 

Sometime back I posted a blog article about writing a Perl module at
GulfBreeze site, you may want to check it out.

<http://www.gulfsoft.com/modules.php?op=modload&name=News&file=article&sid=1
87>

It might have some Tivoli product lingo, still the basic idea of writing a
module is the same.  

Hth,

with warm regards,
Venkat Saranathan
Gulf Breeze Software
www.gulfsoft.com
 
GulfBreeze Blog
www.gulfsoft.com/blog


-----Original Message-----
From: Mike Martin [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 09, 2006 9:28 AM
To: Perl Beginners List
Subject: Converting Perl Script to Module


Does anyone know of any resources to aid in this?

I have a few scripts which I am trying to turn into modules, however
the functions which run as a script (CGI) do not run as modules

Any help etc

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





--
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