Or you can use $RS if you can't (or don't want to) remember $/.my $string = do{ local $/; <$filehandle> };
In reply to Re: How else can I read from a file without using a while loop, testing for the EOF?
by S@nto
in thread How else can I read from a file without using a while loop, testing for the EOF?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |