[EMAIL PROTECTED] wrote:

Hi when using the full url:
print $query->redirect('http://site/cgi-bin/mytest.cgi?ID='.$value);
I am redirected to:
http://site/cgi-bin/mytest.cgi?ID=

Change your code to read

  $value = 'emptyID' unless $value;
  print $query->redirect('http://site/cgi-bin/mytest.cgi?ID='.$value);

Is there any change in behaviour?

Rob


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


Reply via email to