[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Splitting up a text file



>could some1 tell me whats wrong with this how come its not returning to
>the browser?
>
>
>#!/usr/local/bin/perl
>print "content-type: text/html\n\n";

Replace
>print <<'ending_print_tag';
with
print <<ending_print_tag;

(i.e., don't use the single quotes)

><HTML>
><HEAD>
><TITLE>FIRST CGI</TITLE>
></HEAD>
><BODY>
><H1>THIS IS A TEST</H1>
></BODY>
>ending_print_tag


-John Boswell