1Convert::UU(3)        User Contributed Perl Documentation       Convert::UU(3)
2
3
4

NAME

6       Convert::UU, uuencode, uudecode - Perl module for uuencode and uudecode
7

SYNOPSIS

9         use Convert::UU qw(uudecode uuencode);
10         $encoded_string = uuencode($string,[$filename],[$mode]);
11         ($string,$filename,$mode) = uudecode($string);
12         $string = uudecode($string); # in scalar context
13

DESCRIPTION

15       ·   uuencode
16
17           uuencode() takes as the first argument a string that is to be
18           uuencoded. Note, that it is the string that is encoded, not a
19           filename. Alternatively a filehandle may be passed that must be
20           opened for reading. It returns the uuencoded string including
21           "begin" and "end". Second and third argument are optional and
22           specify filename and mode. If unspecified these default to
23           "uuencode.uu" and 644.
24
25       ·   uudecode
26
27           uudecode() takes a string as argument which will be uudecoded. If
28           the argument is a filehandle this handle will be read instead. If
29           it is a reference to an ARRAY, the elements are treated like lines
30           that form a string. Leading and trailing garbage will be ignored.
31           The function returns the uudecoded string for the first begin/end
32           pair. In array context it returns an array whose first element is
33           the uudecoded string, the second is the filename and the third is
34           the mode.
35

EXPORT

37       Both uudecode and uuencode are in @EXPORT_OK.
38

AUTHOR

40       Andreas Koenig "ANDK@cpan.org". With code integrated that was posted to
41       USENET from Hans Mulder and Randal L. Schwartz.
42

SEE ALSO

44       puuencode(1), puudecode(1) for examples of how to use this module.
45
47       Copyright 1996-2003 Andreas Koenig.
48
49       This library is free software; you can redistribute it and/or modify it
50       under the same terms as Perl itself.
51
52       Based on code posted to comp.lang.perl by Hans Mulder and Randal L.
53       Schwartz.
54
55
56
57perl v5.30.1                      2020-01-29                    Convert::UU(3)
Impressum