in reply to Looking for discussions of "block after or" syntax error
The keyword you're looking for is do...
open(F, "<$somefile") or do { print "Could not open file\n"; exit 3; };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Looking for discussions of "block after or" syntax error
by wsanders (Novice) on May 01, 2013 at 21:14 UTC |