Hello;
I am having a problem creating an using a subroutine callback routine
Example:
I have a perl program that references a perl module. I pass the name of
the subroutine in my program to the perl module and then the perl
module is supposed to utilize the subroutine from my program
to complete some processing. But, the subroutine is not getting any
variables passed to it from the perl module. I also get the following
cryptic error message:
Can't use string ("report") as a subroutine ref while "strict refs" in use
at /usr/perl5/5.00503/Ptest.pm line 116
"report" is the subroutine defined in my perl program.
Ptest.pm is the perl module which I pass the subroutine name report( ) to
from my perl program.
The above is the error message I get when it tries to run..
Help? Thanks.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]