in reply to Re: Re: Cannot read in multiple lines
in thread Cannot read in multiple lines
{ local $\ = undef; $_ = <SOME_FILE>; }
This will keep{ local $/ = undef; $_ = <SOME_FILE>; }
Update: As dingus pointed out. I did mean $/ as opposed to $\, which is the output record separator. So I have changed all instances in the code and response above. Thanks dingus
-enlil
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Cannot read in multiple lines
by dingus (Friar) on Nov 04, 2002 at 13:06 UTC |