If EXPR is omitted, the scalar variable of the same name as the FILEHANDLE contains the filename. (Note that lexical variables--those declared with "my"--will not work for this purpose; so if you're using "my", specify EXPR in your call to open.) See the perlopentut manpage for a kinder, gentler explanation of opening files.
In reply to Re^5: Golf: Files Containing a Pattern
by tadman
in thread Golf: Files Containing a Pattern
by kelan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |