in reply to Re: Re: Testing filehandles
in thread Testing filehandles
The intent is to print every line entered at the console until a blank line is entered.so, you could exit isn't it ?
which produce the expexted result and becomeperl -pe '/^$/ && exit'
before I post it :-)perl -MO=Deparse -pe '/^$/ && exit'
|
|---|