On Wed, 26 Jun 2002, drieux opined:

d:wouldn't it follow that the problem is that $c is
d:not a defined value...
d:
d:eg:
d:
d:1 #!/usr/bin/perl -w
d:2 use strict;
d:3
d:4 # #FILENAME# - is for
d:5
d:6 use CGI qw/ :standard /;
d:7 $CGI::DISABLE_UPLOADS = 1;
d:8 $CGI::POST_MAX = 512 * 1024;
d:9
d:10 print "Content-type: text/html\n\n";
d:11
d:12 my $c = param('c');
d:13
d:14 print "\$c is used as $c\n";

use Data::Dumper;
warn "c: ", Dumper($c);

will show you exactly what $c is, even if it's undefined.  if it is 
undefined, you will get the warning you described.


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

Reply via email to