P5-convert-uu

Jul 20, 2023

Perl5 module for uuencode and uudecode

SYNOPSIS use ConvertUU qwuudecode 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.


Checkout these related ports:
  • Zbase32 - Base32 Encoder/Decoder
  • Ytnef - Unpack data in MS Outlook TNEF format
  • Yj - Convert between YAML, TOML, JSON, and HCL
  • Yj-bruceadams - Command line tool that converts YAML to JSON
  • Xml2c - Convert an XML file into C struct/string declarations
  • Xdeview - X11 program for uu/xx/Base64/BinHex/yEnc de-/encoding
  • Wkhtmltopdf - Convert HTML (or live webpages) to PDF or image
  • Uulib - Library for uu/xx/Base64/BinHex/yEnc de-/encoding
  • Uudeview - Program for uu/xx/Base64/BinHex/yEnc de-/encoding
  • Unix2dos - Convert ASCII newlines between CR/LF and LF
  • Tuc - Text to Unix Conversion
  • Trans - Character encoding converter generator
  • Tnef - Unpack data in MS Outlook TNEF format
  • Ta2as - TASM to AT&T asm syntax converter (GNU AS)
  • Showkey - Display cooked key sequences (keycap-to-keystrokes mappings)