in reply to close statement issue
Umm... I guess this couldn't be the cause because it seems to work correctly when I try it but...
close MAIL || die "$!";contains the high-precedence || operator between unparenthesized operands. Perhaps your perl version is a quirky one that parses the thing incorrectly. You can't spoil anything by saying
close(MAIL) or die "$!";Just my two cents.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: close statement issue
by ysth (Canon) on Mar 02, 2007 at 08:16 UTC |