in reply to Why can't I open a file for writing?
Perhaps the bitwise or (|)?
Try or or || instead.open NEWFILE, '>', "$dir/subdirectory/$outputfile" | die "Can't open + $dir/subdirectory/$output here-^
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Why can't I open a file for writing?
by tdilling (Initiate) on Jan 12, 2018 at 21:46 UTC | |
by jwkrahn (Abbot) on Jan 13, 2018 at 02:36 UTC |