in reply to opening missing file inside eval statement
You don't show us what you actually tried. The following works for me:
if (! open INFH, "<$file") { warn "Error opening '$file': $!"; };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: opening missing file inside eval statement
by Anonymous Monk on Jan 08, 2011 at 22:06 UTC | |
by Corion (Patriarch) on Jan 08, 2011 at 22:12 UTC |