Try dropping the single quotes. ie 
$foo = param('thefieldnameinthehtml');

becomes 
$foo = param(thefieldnameinthehtml);

or, use the OO syntax:
$foo = $query->param('thefieldnameinthehtml');


----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "mario sanchez" <[EMAIL PROTECTED]>
Cc: <perl-unix-users@listserv.ActiveState.com>
Sent: Wednesday, April 27, 2005 8:49 AM
Subject: [Perl-unix-users] how many param's are there?


> hi
> 
> this has always worked for me
> 
> $foo = param('thefieldnameinthehtml');
> 
> so i go on a new hosting service and install my proven scripts. scripts
> hang. trace it to ... that line stops working - script hangs - no 500
> error - just hangs ... i trace the problem to that line...
> 
> the "tech support" tells me "YOU'RE WRONG!" they suggest
> 
> $foo = $param{'thefieldnameinthehtml');
> 
> which of course does not work either - doesnt hang now but $foo is blank
> 
> so .... any ideas??
> 
> thanks!
> 
> _______________________________________________
> Perl-Unix-Users mailing list
> Perl-Unix-Users@listserv.ActiveState.com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> 
_______________________________________________
Perl-Unix-Users mailing list
Perl-Unix-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to