So my computer crashed - this is normal, as it's old and clunky and doesn't cohabit well with my cable modem and runs win98 and I'm too cheap and lazy to get anything else.

And whilst it reconstructed myself I thought I'd use my time profitably by reading the Camel. Aren't I a diligent monk?

So what to read? Need to formalise my cargo-cultish understanding of derefencing, so turn to page 251. But for no well explained reason I happen to glance to the left and I see the *foo{THING} syntax... which leads me to the discovery that a filehandle is a THING in the same way an array or a scalar is a THING... well, now, that's interesting sez I, and turns back one page where I read

References to filehandles or directory handles can be created by referncing the typeglob of the same name

Well I'll be horn swoggled. Turning to my script, I add a line to the definition of my pdf object:
my $pdf = new PDF::Create( 'Version' => 1.2, 'Author' => 'me', 'Title' => 'Goom', 'fh' => *STDOUT, # this one );
... and now it works, just how I wanted, with the module in its un-butchered format. What were the chances of my blundering across the answer to this question, which has been bothering me for some time, just now?

§ George Sherston

In reply to Re: PDF::Create - found a SOLUTION quite by chance! by George_Sherston
in thread PDF::Create - send output to STDOUT? by George_Sherston

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.