Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1222516]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-19 10:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found