in reply to /HTML is valid perl?
To Perl, <HTML> looks like a line-read from the filehandle HTML. However, if you have something that isn't a filehandle (or a variable holding a filehandle) in there, Perl sees it as a file glob. </HTML> is the glob /HTML. Even something as simple as whitespace (as shown below) triggers this distinction.
Here's some fiendish Perl:
<perl >; <head type="pragma">; use strict; </head >; <body >; my $name = "japhy"; my $code = "evil"; my $reasons = "plenty"; </perl >;
_____________________________________________________
Jeff[japhy]Pinyan:
Perl,
regex,
and perl
hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;
In Section
Seekers of Perl Wisdom