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 { ... };
In Section
Seekers of Perl Wisdom