On Mon, Jan 30, 2012 at 04:56:53PM +0000, Dominic Thoreau wrote: >open IN, '<', $cfg || handle_that_error_sub; OK, that's the same error I was making, so I'll point out that this will not fail as desired, but open (IN, '<', $cfg) || handle_that_error_sub; will. R