in reply to Re: Two questions
in thread Two questions about CGI and format specifiers (was: Two questions)
Thanks for editing my text - whoever it was :) - I gotta brush up on my html.
So to print the format to STDOUT
I rename the format STDOUT like:
print "Content-type: text/html\n\n"; $name1 = 'whiteperl'; $name2 = 'batman'; format STDOUT = @<<<<<<< @<<<<<<<< $name1 $name2 . $~ = STDOUT; # Is this necessary? print STDOUT;
Will this work? Tripod CGI is very restrictive. I don't think that I have ever gotten a select() to work, so I use $~.
In the above, STDOUT isn't associated with a file handle. That's why I'm not too sure. But I'll go and see.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Two questions
by caedes (Pilgrim) on Jun 30, 2002 at 09:10 UTC |