Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Almost certainly a module documentation issue

by 1nickt (Canon)
on Oct 13, 2017 at 21:46 UTC ( [id://1201354]=note: print w/replies, xml ) Need Help??


in reply to Almost certainly a module documentation issue

Hi, the doc for Email::Sender::Transport::Print is indeed sparse, but it does say:

By default, it will print to STDOUT, but it can be given any IO::Handle object to print to as its fh attribute.

You don't appear to be using IO::Handle to create your filehandle. Have you tried that, or allowing the default?


The way forward always starts with a minimal test.
  • Comment on Re: Almost certainly a module documentation issue

Replies are listed 'Best First'.
Re^2: Almost certainly a module documentation issue
by dd-b (Monk) on Oct 14, 2017 at 20:18 UTC

    Ouch, I got sloppy looking at the types; been away from Perl a bit too long and forgot just how messy the IO space is these days.

    I'm sure this and the other details provided by later responses will be enough to resolve this (but I'll confirm that when I've actually resolved it).

    Thanks to you and everybody else; all the responses are useful, and I don't recall that any two have completely identical utility even!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-04-17 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found