[thelist] Perl have something similar to php header()?

Matthew Fischer mfischer at e-fishsolutions.com
Mon Dec 18 15:03:51 CST 2000


print "Location: http://www.whatever.com\n\n;"

Note the two linefeeds after the url, they are required.


On 12/18/00 at 2:35 PM, mail at redhotsweeps.com (CDitty) wrote:

> 
> 
> Can anyone tell me if Perl has something similar to PHP's header() 
> command?  I have looked in my perl book, but can't find 
> anything.  Basically, I am trying to get something like this for perl. - 
> header("Location: http://www.php.net");
> 
> Thanks
> 
> CDitty




More information about the thelist mailing list