On Fri, 21 Sep 2001, Quentin Smith wrote:

> Why not use the fastest code of all?
> print "<PRE><XMP>";
> open(FANFIC, "$file") or print "File not found:$!\n";
> print $_ while (<FANFIC>);
> close(FANFIC);

<XMP> is an obsolete tag---it's actually illegal in HTML 4.0. Some web
browsers (including Opera 5.12, which I use the most) don't support this
tag. So if I used <XMP> it wouldn't look right on my computer.

Also, if $file happens to contain </XMP> in it, it'll break...although it
would be very unusual for a work of fiction to contain that string.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to