http://qs321.pair.com?node_id=388673


in reply to Re^3: Annoying whitespace(s)...
in thread Annoying whitespace(s)...

Thanks, I wanted to try to keep this simple...

R

Replies are listed 'Best First'.
Re^5: Annoying whitespace(s)...
by Rhys (Pilgrim) on Sep 05, 2004 at 22:51 UTC
    I don't know anything myself about templating - another one of those programming tools I'll have to learn at some point - but I took a quick look at MIME::Lite just now, and it will make your script simpler, not more complicated.

    mybox# perl -eshell -MCPAN cpan> install MIME::Lite ...buncha installation messages... cpan> exit mybox# exit mybox> perldoc MIME::Lite

    Very cool stuff, and pretty easy to use. With Perl, if you can find a module on CPAN that does something for you, it's often best to install and learn that module, rather than code it yourself. Since you appear to have a C background, think of modules as installing a bunch of .h files with some easy-to-use functions.

    --J