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.
in reply to /HTML is valid perl?
Here's some fiendish Perl:
my $name = "japhy";
my $code = "evil";
my $reasons = "plenty";