home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / languages / perl / tutorial / eg / README < prev    next >
Encoding:
Text File  |  1990-11-16  |  3.2 KB  |  100 lines

  1. Last Updated: Fri Jul 20 13:34:01 CDT 1990
  2.  
  3. The files in this directory were (mostly) written by Tom Christiansen
  4. <tchrist@convex.com>.  If they end in ".pl", then they are not meant to
  5. be stand-alone programs but rather should be included either with
  6. #include or else with do 'foo.pl' instead.  The ".1l" and ".8l" files
  7. are man pages.  Many of these programs were presented by me at the Perl
  8. mini-tutorial at USENIX in Washington DC (January 90), but others here are
  9. far too complex for that forum, especially pstruct and cfman.  
  10.  
  11. MANIFEST    "ls -lRF" listing of files in this directory
  12.  
  13. README        this file
  14.  
  15. easy        simple command line examples 
  16.         (simplicity itself)
  17.  
  18. getline.pl    subr to read lines with escaped newlines
  19.         (shows subroutines, flow control)
  20.  
  21. today        parallel "cal" output
  22.         (shows starting many pipes)
  23.  
  24. xpost        check where news articles are xposted 
  25.         (shows dbm files as arrays)
  26.  
  27. sortbyfield     subr to sort array on field N 
  28.         (shows clever way to do index sorting)
  29.         (inspired by Randal Schwartz)
  30.  
  31. getalias    how do aliases expand
  32. nfinger        preprocess finger args for aliases, mailing lists 
  33.         (both show recursive subrs, dbm files as arrays)
  34.  
  35. badrhosts    find +'s in ~/.rhosts files, send mail
  36.         (shows potential for sysadmin tasks)
  37.  
  38. forwmail    redeliver mis-sent mail 
  39.         (shows potential for sysadmin tasks)
  40.  
  41. pstruct        read and write C source showing structure layouts
  42. pstruct.1l    man page for same
  43.  
  44. ctime.pl    ctime lookalike in perl
  45.  
  46. nlist        an nlist function returning assoc array 
  47.         (shows how to pass and recv all parm types)
  48.  
  49. flush.pl    fflush() type subroutines by lwall
  50.         (shows pass-by-reference on file descriptors)
  51.             
  52. syslog.pl    syslog(3) compatibility library
  53.         (shows use of packages for local functions)
  54.  
  55. uuhost        client and server for simple program that connects
  56. uupath        link for uuhost
  57. uuhostd        to simple remote server who runs one of two binaries for you
  58.         (shows how to use sockets in perl)
  59.  
  60. source.pl    a safe way to use do $file and get good error messages
  61.  
  62. itimer.pl    [sg]etitimer and alarm in perl using indirect syscall()s.
  63. ttimer        test program for previous 
  64.  
  65. glob.pl        package to glob in shell or regexp style, no size limits
  66. tglob        test program for previous
  67.  
  68. now-what    perl replacement for /usr/local/mh/bin/whatnow
  69.  
  70. statmon        talk to various machines' inetds' UDP time ports. good 
  71.         examples of select, packet IPC, and writing scripts to 
  72.         take advantage of the dump operator.
  73. statmon.README  instructions for using and porting statmon
  74.  
  75. slides/        troff source for perl tutorial slides
  76.  
  77. man/        directory for perl rewrite of /usr/ucb/man, friends, and foes
  78.  
  79. h2pl/          directory of tools for converting *.h files to *.pl ones
  80.  
  81. cbreak.pl    cbreak() and cooked() subroutines
  82. tcbreak        test program for previous
  83. cbreak2.pl    as before but using ioctl.pl not ioctl.h
  84. tcbreak2    test program for previous
  85.  
  86. vgrindefs.perl    vgrind definitions for perl
  87.  
  88. ncal        front end for cal that understands the current and alpha months
  89.         (useful if you've old cal)
  90.  
  91. nw        /usr/ucb/w front end that merges who output aswell
  92.  
  93. dfbitch        when f/s fills, mail only worst users about it
  94.  
  95. convex/        convex specific scripts
  96.     errlogd    convert spu errlog into syslog as local0
  97.     bacctsum    summarize NQS acct files
  98.     getsysinfo  do getsysinfo system call
  99.  
  100.