2007/5/3, sivasakthi <[EMAIL PROTECTED]>:
Hi Users,

I have used following code,

#!/usr/bin/perl
use strict;
use warnings;
my $x=param("hhh");
my $y=param(sss);
my $z=param(ttt);



Mmmn,I think you would write them as,

use strict;
use warnings;
use CGI qw/:standard/;

my $x = param('hhh');
my $y = param('sss');
...

don't forget the quotation mark when passing arguments to a subroutine.

--
Chinese Practical Mod_perl book online
http://home.arcor.de/jeffpang/mod_perl/

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to