S
sam
Hi,
I would like to pass the $cgi object to a subroutine from a hash object,
somehting like this:
#!/bin/usr/perl -w
use CGI;
sub testing
{
my ($obj1ref, $obj2ref, $str1, $str2, $cgi) = @_
$cgi->submit($str1.$str2);
}
$cgi = new CGI;
test($obj1,$obj2, "my", "string", $cgi);
Is it possible?
Thanks
Sam
I would like to pass the $cgi object to a subroutine from a hash object,
somehting like this:
#!/bin/usr/perl -w
use CGI;
sub testing
{
my ($obj1ref, $obj2ref, $str1, $str2, $cgi) = @_
$cgi->submit($str1.$str2);
}
$cgi = new CGI;
test($obj1,$obj2, "my", "string", $cgi);
Is it possible?
Thanks
Sam