Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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?
[atcroft]: Lady_Aleena: I found the L<name|section> syntax, which describes linking to a perl manual page, and L<text|url> to link to a web page. The reason I asked was because I was on search.cpan.org looking at a module,
[atcroft]: and it referred to several other modules, but the links went to metacpan.org. I found that a bit of a surprise, and it got me wondering if there was a "standard" way to link to other modules in the documentation on CPAN.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2017-05-27 03:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?