Apache-Perl: mod_perl error

Ryan Nielsen ffl at asphaltzipper.com
Mon Feb 7 12:11:43 MST 2005

Okay, I got my package to work, well partially.  I am making a call to
the package:

package::mySub( variable );

But my variable doesn't seem to go through.  I get the error saying the
variable is undefined.  I am trying to assign it with shift, like:

sub mySub {
my $var = shift;

I'm positive the variable I am passing is defined.  Do I have to pass
the variable a specific way?

*Correction to the code above: mysub instead of sub.

More information about the PLUG mailing list