Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: How to bypass File::Slurp when it is required by another module? (monkeypatch)

by vitoco (Friar)
on Sep 17, 2018 at 15:22 UTC ( #1222516=note: print w/replies, xml ) Need Help??


in reply to Re: How to bypass File::Slurp when it is required by another module? (monkeypatch)
in thread How to bypass File::Slurp when it is required by another module?

The call is in line 36 of Email::MIME::CreateHTML::Resolver::Filesystem (permalink to source).

I said I was not sure about read_file in File::Slurp to use options when the file size is less than 100K (permalink to source), but it seems to happen only on default reads from pseudofiles and when no options where provided.

I'll try to "monkeypatch" one of these functions/methods...

  • Comment on Re^2: How to bypass File::Slurp when it is required by another module? (monkeypatch)
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1222516]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2020-06-01 05:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?