in reply to How to bypass File::Slurp when it is required by another module?
Hi,
Where is the call to read_file exactly? That is what you should fix/bugreport to use binmode
You can override in your program by "monkeypatch" (an emergency measure)
sub File::Slurp::read_file { ... } or local *File::Slurp::read_file = sub { ... };
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to bypass File::Slurp when it is required by another module? (monkeypatch)
by marto (Cardinal) on Sep 17, 2018 at 06:33 UTC | |
by vitoco (Hermit) on Sep 17, 2018 at 16:49 UTC | |
by Anonymous Monk on Sep 17, 2018 at 22:24 UTC | |
by vitoco (Hermit) on Sep 18, 2018 at 07:50 UTC | |
by Anonymous Monk on Sep 18, 2018 at 09:25 UTC | |
Re^2: How to bypass File::Slurp when it is required by another module? (monkeypatch)
by vitoco (Hermit) on Sep 17, 2018 at 15:22 UTC |
In Section
Seekers of Perl Wisdom