Thanks James, I think I understand now!

Here is another topic:

What is happening to my second argument here? It is
not being passed!

use CGI qw(:standard);
$q = new CGI;
sub print_args {
  my ($a, $b, $c) = @_;
  print "a = $a b = $b c=$c\n";
}
&print_args("abc", $q->param('next'), "xyz");

# However, if make a slight change, it works!
my $n = $q->param("next");
&print_args("abc", $n, "xyz");

What is going on here? That was nasty!

  Thanks,
         Siegfried


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

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

Reply via email to