Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: A better (?) uudecoder.

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 14: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
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.