Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Problem converting HTML to PDF

by Cody Pendant (Prior)
on Jan 29, 2003 at 21:33 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-20 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found