Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: A better (?) uudecoder.

by Matts (Deacon)
on Apr 27, 2002 at 08:25 UTC ( [id://162491]=note: print w/replies, xml ) Need Help??


in reply to A better (?) uudecoder.

Did you know perl can natively uudecode using pack()? No need for an extra module then.

Replies are listed 'Best First'.
Re: Re: A better (?) uudecoder.
by mephit (Scribe) on Apr 27, 2002 at 18:28 UTC
    Yeah, I know, but why re-invent the wheel? The main reason I wrote this was to have something that could handle a single file that contains (possibly) more than one uuencoded file, and possibly News headers, which uudecode (1) doesn't handle all that well. uudecode (1) will only decode the first chunk of data that it finds in a text file, and only if it's in one piece (if there's header info in the middle, in the case of a file that was split before being posted, forget about it). This script works around that. Anyway, it's useful to me; YMMV.

Log In?
Username:
Password:

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

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

    No recent polls found