home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / perl / 5360 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  1.2 KB

  1. Path: sparky!uunet!olivea!decwrl!sdd.hp.com!usc!news!netlabs!lwall
  2. From: lwall@netlabs.com (Larry Wall)
  3. Newsgroups: comp.lang.perl
  4. Subject: Re: perl -de 0 question
  5. Message-ID: <1992Aug18.170152.2909@netlabs.com>
  6. Date: 18 Aug 92 17:01:52 GMT
  7. References: <1992Aug18.063546.27061@cactus.org>
  8. Sender: news@netlabs.com
  9. Organization: NetLabs, Inc.
  10. Lines: 26
  11. Nntp-Posting-Host: scalpel.netlabs.com
  12.  
  13. In article <1992Aug18.063546.27061@cactus.org> cheselka@cactus.org (Michael R. M. Cheselka) writes:
  14. : I know how to get perl up and running in an interactive mode.  However, how
  15. : can I save my work when I am done?
  16.  
  17. You could probably cobble up something using dumpvar.pl to save all your
  18. variables, but it'd be gory.
  19.  
  20. : Also, can I "set ignoreeof"?  I seem to get droped out of perl alot.
  21.  
  22. You could make your own private perldb.pl and change the line that reads
  23.  
  24.     $cmd eq '' && exit 0;
  25.  
  26. to
  27.  
  28.     $cmd eq '' && (seek(IN, 0, 1), next CMD);
  29.  
  30. : Finally, does anyone have a simple program in
  31. : perl that uses termcap?  I am looking for some kind of emacs style text
  32. : entry example, esp. moving back and forth between lines( C^n and C^p) with
  33. : a menu.
  34.  
  35. Check out Tom's Christiansen's plum program.  I don't know as I'd call it
  36. "simple", but you can find a lot of good stuff in it.
  37.  
  38. Larry
  39.