in reply to Re: Grep file before sending through socket
in thread Grep file before sending through socket
I know $/ is a line separator, but in this context, what is it doing? I'm fairly new to perl and some things are still cryptic to me. Thanksmy $file = do { local $/; <FILE> };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Grep file before sending through socket
by dws (Chancellor) on Dec 11, 2001 at 22:45 UTC |