in reply to Re: Re: Oddity...losing filename from stdin - very wierd
in thread Oddity...losing filename from stdin - very wierd
You missread what Dog & Pony is saying. Perl isn't
"Invoked for
every instance of output from ls" ... the problem
you had was using the -n option of perl in addition
to your own while loop. You need one, or the other,
but not both.