sub readthingy { local @ARGV = @_; local $/ = ', '; return <>; # ref to array might be faster }
This is not equivalent to the original. Ask yourself, "what happens to newlines?"
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Re: a method to get words from a file into an array
by sauoq
in thread a method to get words from a file into an array
by aufrank
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |