On 16 Jan 00, at 21:21, Andy Lester wrote: > At 06:40 PM 1/16/00 -0800, you wrote: > >chomp(my @dict = `cat /usr/dict/words`); > > For those of us who usually use Windows machines, is there any real analog > to this? I guess I could just say > > chomp( my @dict = 'type words.txt'); Well, there's always the dull and not-fun open (DICT, "c:\words.txt") or die blah blah... chomp (my @dict = <DICT>) ; close DICT; compact, clear, portable. What more do you want? [and even with proper error checking! :o)] /Bernie\ -- Bernie Cosell Fantasy Farm Fibers mailto:bernie@fantasyfarm.com Pearisburg, VA --> Too many people, too few sheep <-- ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe