home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2655 < prev    next >
Internet Message Format  |  1991-02-03  |  773b

  1. From: composer@chem.bu.edu (Jeff Kellem)
  2. Newsgroups: alt.sources
  3. Subject: Re: Acronym lookup tool
  4. Message-ID: <COMPOSER.91Feb3192255@chem.bu.edu>
  5. Date: 4 Feb 91 00:22:55 GMT
  6.     <COMPOSER.91Feb2145029@chem.bu.edu>
  7. Sender: news@bu.edu.bu.edu
  8. Reply-To: composer@chem.bu.edu
  9. Followup-To: alt.sources
  10. Organization: Boston University Chemistry Department
  11. Lines: 15
  12. In-reply-to: composer@chem.bu.edu's message of 2 Feb 91 19:50:29 GMT
  13.  
  14. In article <COMPOSER.91Feb2145029@chem.bu.edu> I wrote...
  15.  > sub input {
  16.  >     print @_[0];
  17.  >     chop($_ = <STDIN>);
  18.  >     $_;
  19.  > }
  20.  
  21. Oops.. darn typos.  That first line should have been "print $_[0];".
  22. It was originally set to print the entire arg list to &input.  Both
  23. will work, though.
  24.  
  25.         -jeff
  26.  
  27. Jeff Kellem
  28. Internet: composer@chem.bu.edu
  29.