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

Re: MIME::Lite, DBI LONGRAW's & newlines

by gav^ (Curate)
on Jun 20, 2002 at 15:39 UTC ( #176051=note: print w/replies, xml ) Need Help??


in reply to MIME::Lite, DBI LONGRAW's & newlines

I'm pretty sure that zakb has the right idea.

What does look odd though is: Data    => qq{ $body }
Which just adds a space to the beginning and end of $body. I'm guessing that you don't want to do this and should just remove the qq{}.

You might also look at HTML::FromText or HTML::TextToHTML.

gav^

Replies are listed 'Best First'.
Re: Re: MIME::Lite, DBI LONGRAW's & newlines
by Anonymous Monk on Jun 21, 2002 at 08:56 UTC
    Hi, I solved it by replacing 'text/html' with 'text' for the MIME::Lite invocation as follow: Type => 'text'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://176051]
help
Chatterbox?
[marioroy]: Lady_Aleena could it be a quoting issue? I just tried find with -exec on the command line. find . -name "*.pl" -exec ls -l {} \;
[Tanktalus]: No, I know who he is, nice try. But if you're hiring, let me know :)
[Tanktalus]: Lady_Aleena: yeah, I can reproduce your issue, it's confusing alright :)
[Tanktalus]: I'm sure it'll make perfect sense once we figure it out :)
[Lady_Aleena]: marioroy, not a quoting error. I can't run it on the command line. It is when I put it in qx() where it falls apart.
Discipulus hired to use Perl in Eataly? haired maybe
[choroba]: We're hiring
[Discipulus]: wow praha!
[Tanktalus]: choroba: do I have to move? :)
Discipulus has too much roots in a 2770 yo town

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2017-04-23 20:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.