in reply to Re: Problem with Perl Modules.
in thread Problem with Perl Modules.
In my perl module i have written the subroutine for ReadConfigFile. I have another perl script which uses this perl module Hello and invokes ReadConfigFile from the script. When i ran my script it gives mepackage Hello; use Exporter; @ISA = ('Exporter'); # create an Exporter object. # Export all variables and functions via EXPORT statement # updated for exporting Setup CLI keys and Variables our($x,$test,$TestCase); @EXPORT = qw($x $test $TestCase ReadConfigFile);
I do not know if i am missing out on something. Please help. Thank YouUndefined subroutine &Hello::ReadConfigFile called at C:\Test\Hello.pl + line 30.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Problem with Perl Modules.
by sauoq (Abbot) on Oct 26, 2005 at 16:22 UTC |