⭐ in reply to How else can I read from a file without using a while loop, testing for the EOF?
Or you can use $RS if you can't (or don't want to) remember $/.my $string = do{ local $/; <$filehandle> };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Answer: How else can I read from a file without using a while loop, testing for the EOF?
by jdhedden (Deacon) on Apr 24, 2006 at 12:52 UTC |