[Warning: contains nitpicking]

nemesis wrote:
> #!/usr/local/bin/perl -w
> use strict;
> my $image_url = 'http://www.fyshbowl.org/temp/announcement.jpg';
> print "Content-type: text/html\n\n";
> print "<img src=\"$image_url\" alt=\"Lame excuse for sending 
> the URL to an amusing imageto the mailing list\">\n";

Someone teach this poor, misguided soul about your choice of

(a) here docs
(b) qq|| and alternative quoting delimiters
(c) CGI.pm (if using CGI.pm for generating HTML rocks your boat)
(d) Template Toolkit
(e) -T
(f) What a DOCTYPE is and how to comply with the one you chose[1]
(g) all of the above

:)

Cheers,
Philip

[1] as in "Error: element "IMG" not allowed here; check which elements this
element may be contained within [...] Sorry, this document does not validate
as HTML 4.01 Transitional"
-- 
Philip Newton <[EMAIL PROTECTED]>
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.

Reply via email to