in reply to How to bypass File::Slurp when it is required by another module?
One solution is to re-write with Path::Tiny. It took me some time, but I'm happy that File::Slurp gets used, required by nothing going forward.
use Path::Tiny; # reading files $guts = $file->slurp; $guts = $file->slurp_utf8; @lines = $file->lines; @lines = $file->lines_utf8;
They say not to re-invent the wheel, but I think you have to fix the flats. Uri Guttman might be the least pleasant person I've "met" in perl circles, and I wouldn't be surprised if he had interpersonal reasons for not maintaining the module that people know him for.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to bypass File::Slurp when it is required by another module?
by beech (Parson) on Sep 18, 2018 at 00:36 UTC |