[ back to toc ]

Question about Perl!

Date: 2002/01/21 05:08

Q:
Why hello there, I've been having a problem with redirection to a website
in perl. I would like to know if there is a script in perl that once you
execute the script it will automatically redirect you to a page, IE.
www.allexperts.com.

Please let me know!
A:
This is an extremely simple script:

#! /usr/bin/perl
print "Status: 301\nLocation: http://www.allexperts.com\n\n";

Regards,
Peter

[ back to toc ]