Re: simplestic perl module

2012-10-17 Thread Shlomi Fish
Hi jv, On Wed, 17 Oct 2012 09:38:00 +0300 "j...@dodec.lt" wrote: > Hi, > > I started to monitor this list not a while ago and just wanted to ask > what is @ISA and @EXPORT here and how they are related to those "our" > variables ? our is a way to declare package-scope variables, see: * http

Re: simplestic perl module

2012-10-17 Thread Shlomi Fish
Hi Rajeev, On Tue, 16 Oct 2012 22:07:48 -0700 (PDT) Rajeev Prasad wrote: > Hello Shlomi, > > thx for the help. I tried and it worked. however I have few > confusions. I tried it two ways (one yours and one from another > website)  I am not sure what is different between the two approaches. > I

Re: simplestic perl module

2012-10-16 Thread j...@dodec.lt
cript.pl #!/usr/bin/perl use strict; use warnings; use Template; use Mymodule qw(myroutine); my ($output)=myroutine($input); - Original Message - From: Shlomi Fish To: Rajeev Prasad Cc: perl list Sent: Tuesday, October 9, 2012 11:33 AM Subject: Re: simplestic perl module Hi Rajeev,

Re: simplestic perl module

2012-10-16 Thread Rajeev Prasad
y, October 9, 2012 11:33 AM Subject: Re: simplestic perl module Hi Rajeev, On Tue, 9 Oct 2012 08:54:31 -0700 (PDT) Rajeev Prasad wrote: > I want to execute this routine which is to be supplied two(sometimes > three) string variables. and will return two string variables. I want > to kee

Re: simplestic perl module

2012-10-09 Thread timothy adigun
Hi, On Tue, Oct 9, 2012 at 4:54 PM, Rajeev Prasad wrote: > I want to execute this routine which is to be supplied two(sometimes > three) string variables. and will return two string variables. I want to > keep this routine in a separate file. how to do it? > >You might want to look into Per

Re: simplestic perl module

2012-10-09 Thread Shlomi Fish
Hi Rajeev, On Tue, 9 Oct 2012 08:54:31 -0700 (PDT) Rajeev Prasad wrote: > I want to execute this routine which is to be supplied two(sometimes > three) string variables. and will return two string variables. I want > to keep this routine in a separate file. how to do it? > > > > something lik

simplestic perl module

2012-10-09 Thread Rajeev Prasad
I want to execute this routine which is to be supplied two(sometimes three) string variables. and will return two string variables. I want to keep this routine in a separate file. how to do it? something like: ($var1,$var2) = routine I am either looking to keep this routine in a file which