Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Text to PDF conversion

by talexb (Chancellor)
on Mar 14, 2002 at 20:50 UTC ( [id://151828]=note: print w/replies, xml ) Need Help??


in reply to Text to PDF conversion

  1. The text I am pulling in is riddled with control characters, I am not sure how to get rid of them, chomp will only get rid of the newline character correct?
  2. I am using MIME::Lite to create the e-mail and Net::SMTP to send it, I have tried to add an error trap using die just in case the mailserver is down but it does not seem to be working.
  3. I am not sure how best to implement new pages if the text file is more than one page, I have an idea of how I would do it but just wanted suggestions
  1. Yes, chomp only removes newlines if they exist. I'd suggest using the tr operator with the d option.
  2. Sorry, can't help you on that one.
  3. This CPAN page should be useful to you.

--t. alex

"Here's the chocolates, and here's the flowers. Now how 'bout it, widder hen, will ya marry me?" --Foghorn Leghorn

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (9)
As of 2024-04-18 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found