[thelist] Perl equivalent ??

CDitty mail at redhotsweeps.com
Tue Apr 17 18:11:08 CDT 2001


Thanks.  That'll do it.

Chris

At 06:00 PM 4/17/2001, you wrote:
>CDitty wrote:
> > Can someone tell me the perl equivalent and proper syntax to php's header
> > ("Location: "); tag?  I have searched in my perl books under headers and
> > redirect but can't find anything and perl.com is not responding for me.
>
>In PHP
><?php Header("Location: http://www.yahoo.com/"); ?>
>
>And In Perl
>#!/usr/bin/perl
>print "Location: http://www.yahoo.com/\n\n"
>
>(note, those newlines are crucial)
>         - Joe <http://artlung.com/>
>--
>Joe Crawford ||||||||||||||       mailto:jcrawford at avencom.com
>||||||||||||||||||||||||             http://www.avencom.com
>|||||||||||||||||||||||||||      Avencom: Set Your Sites Higher
>
>---------------------------------------
>For unsubscribe and other options, including
>the Tip Harvester and archive of TheList go to:
>http://lists.evolt.org Workers of the Web, evolt !





More information about the thelist mailing list