Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!samsung!caen!news.cs.indiana.edu!ux1.cso.uiuc.edu!phil From: phil@ux1.cso.uiuc.edu (Phil Howard KA9WGN) Newsgroups: comp.lang.perl Subject: pack function, uuencode and xxencode Keywords: pack uuencode xxencode Message-ID: <1991Jan21.202552.28890@ux1.cso.uiuc.edu> Date: 21 Jan 91 20:25:52 GMT Organization: University of Illinois at Urbana Lines: 17 The pack function includes the ability to use uuencode, but there is no way to do xxencode with it (yet). That would be a suggestion for future inclusion. Unfortunately the templates of "x" and "X" are already taken so something less mnemonic would have to be used. One could alternatively use tr (somehow maybe, I have not learned that one yet). One of the programs I want to write, and am considering perl as an alternative to C if this can be figured out, is something that can find the uuencoded or xxencoded file, or multiple files, within a saved mail file (passing over all the headers, etc.) and extracting all the files with special name collision avoidance added to prevent accidents. The plain uudecode and xxdecode programs (xxdecode being simply a remake of uudecode) don't do these tests whatsoever. -- --Phil Howard, KA9WGN-- | Individual CHOICE is fundamental to a free society | no matter what the particular issue is all about.