how to use perl modules
- From: adave@xxxxxxxxxxx (Abhishek Dave)
- Date: Wed, 28 Sep 2005 00:02:42 +0530
hello all,
i've wrote a small test subroutine in my file name test.pm and in the same directory i worte
a perl file in which i've to call this subroutine in this perl program
I dont know how to use perl modules
pls let me knwo abt that as it will solve my lots of problems
test.pm
sub ReturnValue()
{
my $a=10;
return ($a);
}
call.pl
use test;
print ReturnValue();
--I don't know abt the moduls in perl
Pls help me in this regard asap
waiting for reply from perl group
Thanks
Beginner
- Follow-Ups:
- Re: how to use perl modules
- From: Jabir Ahmed
- Re: how to use perl modules
- From: Wiggins d'Anconia
- Re: how to use perl modules
- Prev by Date:
Re: PERL's equivalent to an "include file" - Next by Date:
Re: PERL's equivalent to an "include file" - Previous by thread:
PERL's equivalent to an "include file" - Next by thread:
Re: how to use perl modules - Index(es):