I'm responding to both messages (the original and the response) because I
don't have the original.
On Thu, Aug 16, 2001 at 01:21:16PM -0500, randy Peterman wrote:
> I believe that you may need to add an ampersand "&" before the name of the
> subroutine, like so:
> if(!&isPresent(\$req, $user))
I believe that you may need to add an ampersand "&" before the name of the
subroutine, like so:
if(!&isPresent(\$req, $user))
Randy
"David Simcik" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Newbie question here...
>
> I've created a CGI.pm object and want
Newbie question here...
I've created a CGI.pm object and want to pass its reference to a function.
It keeps on puking though, returning this message:
Type of arg 1 to main::isPresent must be scalar (not single ref constructor)
at C:\src\Orion\cgi-bin\share.pl line 45, near "$user)"
Basically, I