summaryrefslogtreecommitdiffstats
path: root/converters/p5-Convert-UU/pkg-descr
diff options
context:
space:
mode:
authorjfitz <jfitz@FreeBSD.org>1996-10-24 08:25:25 +0000
committerjfitz <jfitz@FreeBSD.org>1996-10-24 08:25:25 +0000
commit76041317629e47786ffc2f8cc56fc6fc80b35d84 (patch)
tree646eaf91fa1dbb9a08db7b3844cff4ede74d9b18 /converters/p5-Convert-UU/pkg-descr
parentd3efd0ffa700f2f9b398a3df38df91f6a86d16ea (diff)
downloadFreeBSD-ports-76041317629e47786ffc2f8cc56fc6fc80b35d84.zip
FreeBSD-ports-76041317629e47786ffc2f8cc56fc6fc80b35d84.tar.gz
perl5 module for uuencode and uudecode.
Diffstat (limited to 'converters/p5-Convert-UU/pkg-descr')
-rw-r--r--converters/p5-Convert-UU/pkg-descr22
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 0000000..5a2eabc
--- /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.
OpenPOWER on IntegriCloud