shemp has asked for the wisdom of the Perl Monks concerning the following question:
it seems to work, but i think i dont feel comfortable that it will always work.if ( ($input_line =~ /^\W$/) && eof(INPUT_HANDLE) ) { # this is eof }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: dos EOF in linux
by Mr. Muskrat (Canon) on Jan 21, 2003 at 18:51 UTC | |
|
Re: dos EOF in linux
by hawtin (Prior) on Jan 22, 2003 at 09:24 UTC | |
|
Re: dos EOF in linux
by Mr. Muskrat (Canon) on Jan 21, 2003 at 17:49 UTC | |
by shemp (Deacon) on Jan 21, 2003 at 18:00 UTC | |
by demerphq (Chancellor) on Jan 21, 2003 at 19:09 UTC | |
by Mr. Muskrat (Canon) on Jan 21, 2003 at 18:13 UTC |