Re: turnign a script into a perl module

2011-09-15 Thread David Christensen
On 09/15/2011 11:58 AM, Rajeev Prasad wrote: ... turn the inner script into a module of subroutines. ... how would i turn this into a module which can be called from another script? ... I'd suggest buying and reading "Intermediate Perl": http://shop.oreilly.com/product/9780596102067.do

Re: turnign a script into a perl module

2011-09-15 Thread Jim Gibson
On 9/15/11 Thu Sep 15, 2011 11:58 AM, "Rajeev Prasad" scribbled: > Based on earlier suggestion by list-members, I think the best way to run a > script inside a script is to turn the inner script into a module of > subroutines. >   > I have few questions: >   > given a sample script style: > ___

turnign a script into a perl module

2011-09-15 Thread Rajeev Prasad
Based on earlier suggestion by list-members, I think the best way to run a script inside a script is to turn the inner script into a module of subroutines.   I have few questions:   given a sample script style: __ #!/usr/bin/perl -w use s