more useful options | |
PerlMonks |
Re: /HTML is valid perl?by DamnDirtyApe (Curate) |
on Oct 23, 2001 at 07:56 UTC ( [id://120704]=note: print w/replies, xml ) | Need Help?? |
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. ;-)
In Section
Seekers of Perl Wisdom
|
|