in reply to Spurious "Invalid Argument" on file open
What do you get from $^E?:
if(-e $rule_file) { if(open(my $rule_fh,'<',$rule_file)) { .... } else { die "Can not read file $rule_file : $! / $^E"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Spurious "Invalid Argument" on file open
by rovf (Priest) on Oct 23, 2012 at 14:27 UTC | |
by BrowserUk (Patriarch) on Oct 23, 2012 at 20:40 UTC | |
by rovf (Priest) on Oct 24, 2012 at 08:47 UTC | |
by BrowserUk (Patriarch) on Oct 24, 2012 at 09:15 UTC | |
by rovf (Priest) on Oct 24, 2012 at 13:50 UTC | |
|