in reply to or DIE adding line number to error
oropen(LOG, "< $file") or do { print STDERR "Sorry, could not open $file: $!\n"; exit (1); }
unless (open(LOG, "< $file")) { print STDERR "Sorry, could not open $file: $!\n"; exit (1); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: or DIE adding line number to error
by jhourcle (Prior) on Mar 10, 2005 at 03:09 UTC |