On 8/7/06, Umar Draz <[EMAIL PROTECTED]> wrote:
In PHP i can use header ("Location: this.php?error=this_error");
Location: is standard HTTP. The trick is too make sure your
application is truly talking HTTP.
Please help me how i can use in Perl?
In Perl, as a 'HereDoc' syntax -
print<<__HTTP;
Location: this.php?error=this_error
__HTTP
__END__
Note that is two underlines in the __HTTP and there must be two CR/LF
pairs after the Location: line...
HTH
--
WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>