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 reply to Re: How to bypass File::Slurp when it is required by another module? (monkeypatch)
by beech
in thread How to bypass File::Slurp when it is required by another module?
by vitoco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |