[thelist] Perl equivalent ??

Joe Crawford jcrawford at avencom.com
Tue Apr 17 19:12:18 CDT 2001


Joe Crawford wrote:
> 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)

And good lord, perl lines should have semicolons at the end if they are
not the last line. I think that's right.

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

	- Joe
--
Joe Crawford ||||||||||||||       mailto:jcrawford at avencom.com
||||||||||||||||||||||||             http://www.avencom.com
|||||||||||||||||||||||||||      Avencom: Set Your Sites Higher




More information about the thelist mailing list