[PLUG] Perl is EVIL!!
AthlonRob
AthlonRob at axpr.net
Fri Oct 31 19:21:02 UTC 2003
On Fri, 2003-10-31 at 17:36, jm wrote:
> begin electrogrammati illius AthlonRob:
> > I'm stumped. Any ideas? This is the *first* perl script I've ever
> > written, so be gentle. :-)
>
> Hiya, this won't help if you're determined to do it "the hard way",
> but there's a handy perl module called MIME::Parser that's designed
> to do exactly this extraction, and will save you a lot of grief. It
> is part of the standard MIME-Tools suite. "perldoc MIME::Parser"
> seems to have much sample code.
Cool.
That comes close to doing exactly what I need. The only problem I have
with it is I can't get the output to go to stdout. I think I can deal
with that, though, with a bash script and some cat usage.
I still do wonder, however, why my script didn't work... :-)
Thanks!
Rob
More information about the PLUG
mailing list