The keyword you're looking for is do...
open(F, "<$somefile") or do { print "Could not open file\n"; exit 3; };
In reply to Re: Looking for discussions of "block after or" syntax error
by tobyink
in thread Looking for discussions of "block after or" syntax error
by wsanders
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |