Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

munpack and format=flowed

by prodevel (Scribe)
on Jul 01, 2000 at 15:45 UTC ( [id://20740]=perlquestion: print w/replies, xml ) Need Help??

prodevel has asked for the wisdom of the Perl Monks concerning the following question:

I've been receiving attached ascii positional files from 1000+ users for about 6 mos. now, and noticed a new attch. encoding "format=flowed" I've been using munpack to parse these files out and play w/them, but it doesn't seem to like this encoding. Of course, I've searched the www, although I only get some loose rules, e.g. lines end @ 75-80 and replace \n w/space when midline, etc. I'm fairly desperate to get another method of unpacking these attachments and wondered if any of you reverant monks have had a similar exprerience. Forever indebted, Rob

Replies are listed 'Best First'.
Re: munpack and format=flowed
by chromatic (Archbishop) on Jul 01, 2000 at 20:53 UTC
    Looks like that encoding is specified in RFC2646, so that's the first place to look for the gooey details.

    I'd take a look at the CPAN for Mime-tools, as that takes care of gory stuff for you in many cases. I've not used it for that format, so I won't promise miracles. (It looks like that format adds an extra space on the end of the line and tries to break things up into paragraphs. Interesting.)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-19 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found