Code Comments
Programming Forum and web based access to our favorite programming groups.I need to access a variable like this: $cgi->param($variable);
This doesn't work.
But this works: $cgi->param('name');
The first try ($cgi->param($variable)) ends with a "Internal server error".
Thank you.
Post Follow-up to this messageVictor wrote:
> I need to access a variable like this: $cgi->param($variable);
> This doesn't work.
> But this works: $cgi->param('name');
>
> The first try ($cgi->param($variable)) ends with a "Internal server error".[/color
]
Please post a short but complete program that illustrates your observation.
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
Post Follow-up to this message"Internal server error" usually happens when Perl produces an error, and you can find the real error in your CGI error log (it's usually a lot more help ful.) Or, if you don't mind visitors seeing the error messages, put use CGI::Carp qw/fatalsToBrowser/; at the top of your page and the ISE message will include the error Perl retu rned.
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.