slackbuilds/perl/perl-Convert-UU
Zachary Storer 88c42583f4 perl/perl-Convert-UU: Fix source URLs. 2014-07-22 16:23:02 +07:00
..
README perl/perl-Convert-UU: Added (perl module) 2013-01-01 00:39:17 -05:00
perl-Convert-UU.SlackBuild various: Update find command to match template. 2013-11-22 02:37:19 -05:00
perl-Convert-UU.info perl/perl-Convert-UU: Fix source URLs. 2014-07-22 16:23:02 +07:00
slack-desc perl/perl-Convert-UU: Added (perl module) 2013-01-01 00:39:17 -05:00

README

Convert::UU -- Perl module for uuencode and uudecode

- uuencode

uuencode() takes as the first argument a string that is to 
be uuencoded. Note, that it is the string that is encoded, 
not a filename. Alternatively a filehandle may be passed 
that must be opened for reading. It returns the uuencoded 
string including begin and end. Second and third argument 
are optional and specify filename and mode. If unspecified 
these default to "uuencode.uu" and 644.

- uudecode

uudecode() takes a string as argument which will be uudecoded. 
If the argument is a filehandle this handle will be read 
instead. If it is a reference to an ARRAY, the elements are 
treated like lines that form a string. Leading and trailing 
garbage will be ignored. The function returns the uudecoded 
string for the first begin/end pair. In array context it 
returns an array whose first element is the uudecoded string, 
the second is the filename and the third is the mode.