You've got a precedence error there. Either always use or instead of || for flow control, or always use parans around your open (and other builtin) arguments.open ML, "</var/log/local2" || die $!;
In reply to Re: Reading from a deleted file is futile
by ysth
in thread Reading from a deleted file is futile
by Wiggins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |