Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Problem converting HTML to PDF

by Cody Pendant (Prior)
on Jan 29, 2003 at 21:33 UTC ( #231103=note: print w/replies, xml ) Need Help??


in reply to Problem converting HTML to PDF

I know nothing about HTML to PDF conversion, but what's with the quotes here:
open ( FIN, "$html2ps http://mypage.com/index?param=x&foo=y' |" );
?

Plus, as any monk will tell you, you're not testing that open with an "or die"...
--

“Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.”
M-J D

Replies are listed 'Best First'.
Re: Re: Problem converting HTML to PDF
by ehdonhon (Curate) on Jan 29, 2003 at 21:43 UTC

    what's with the quotes...

    Typo from copying the code over to my browser. Should be:  open ( FIN, "$html2ps 'http://mypage.com/index?param=x&foo=y' |" );

    you're not testing that open with an "or die"...

    You are right, I should do that. But, as I said in my original post, I know from debugging that I'm getting past this point correctly.

    Thanks.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2022-06-25 08:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (81 votes). Check out past polls.

    Notices?