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 (Pilgrim) 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!