in reply to Tie::File with absolute path of the file
tie my @content, 'Tie::File', $file or die "$file: $!";
Tip #7 from the Basic debugging checklist. Also, it looks strange to chain file test operators together like that. It might work, but I don't remember seeing it done that way.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tie::File with absolute path of the file
by AnomalousMonk (Archbishop) on Dec 05, 2017 at 02:42 UTC |