Thanks, my mistake.  I orginally had the qw:/standard at the top but I
changed it so anything using CGI.pm needed a $CGIquery but I forgot to
add that before the param("con");

On Wed, 31 Jul 2002 13:48:45 -0700, "Soheil Shaghaghi"
<[EMAIL PROTECTED]> said:
> Sorry, I am pretty new to Perl myself, but you might want to try
> something
> like this:
> 
> $q = new CGI;
> my $con = $q->param('con');
> 
> Soheil
> 
> 
> 
> -----Original Message-----
> From: Kyle Babich [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 31, 2002 1:37 PM
> To: beginners-cgi
> Subject: Undefined subroutine &main::param called
> 
> 
> This is what shows in my error log:
> Undefined subroutine &main::param called at
> /home/sites/kmb/www/public_html/njindenial/index.pl line 10.
> 
> This is like 10:
> my $con = param( "con" );
> 
> What should I change?  I'm not quite sure what I should do.
> (I have attached the entire script if you think it is actually
> something else causing that problem.)
> 
> Thank you again,
> --
> Kyle
> 
> 
> 

--
Kyle

--
Kyle

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to