in reply to /HTML is valid perl?

The forward slash mutates the angle operator into a filename globbing operator. Thus, </html> is actually returning a list of all the filenames which it matches. Similarily, </*.html> should return a list of HTML files in your root directory.

If you can, see Programming Perl, 3rd ed., page 83.

Good luck. ;-)