in reply to a method to get words from a file into an array
words separated by a comma and a space.
sub readthingy { local @ARGV = @_; local $/ = ', '; return <>; # ref to array might be faster }
- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: a method to get words from a file into an array
by sauoq (Abbot) on Aug 08, 2002 at 22:56 UTC | |
by Juerd (Abbot) on Aug 09, 2002 at 05:50 UTC |