diff options
author | James FitzGibbon <jfitz@FreeBSD.org> | 1996-10-24 08:25:25 +0000 |
---|---|---|
committer | James FitzGibbon <jfitz@FreeBSD.org> | 1996-10-24 08:25:25 +0000 |
commit | 1b3cf25ce1c48d60d1ada6184443e69e1d73318a (patch) | |
tree | c62abfa177e3cb81cd8d90d4cb0dd09dd7afca7b /converters/p5-Convert-UU/pkg-descr | |
parent | perl5 module to validate/generate credit card checksums/names. (diff) |
perl5 module for uuencode and uudecode.
Notes
Notes:
svn path=/head/; revision=4111
Diffstat (limited to 'converters/p5-Convert-UU/pkg-descr')
-rw-r--r-- | converters/p5-Convert-UU/pkg-descr | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/converters/p5-Convert-UU/pkg-descr b/converters/p5-Convert-UU/pkg-descr new file mode 100644 index 000000000000..5a2eabc5e1b5 --- /dev/null +++ b/converters/p5-Convert-UU/pkg-descr @@ -0,0 +1,22 @@ +SYNOPSIS + use Convert::UU qw(uudecode uuencode); + $encoded_string = uuencode($string,[$filename],[$mode]); + ($string,$filename,$mode) = uudecode($string); + $string = uudecode($string); # in scalar context + + +DESCRIPTION + uuencode() takes as the first argument a scalar that is to + be uuencoded. 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() takes a string as argument which will be + uudecoded. If the argument is a filehandle this will be + read instead. 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. |