in reply to Re: Another system redirect problem
in thread Another system redirect problem

Almost there, a little mistake by copying my stuff over.

open LS_PIPE, '-|', '/bin/ls' ,'-l', $File::Find::name or die "Cannot open pipe from '/bin/ls' because: $!";

Becomes ...

open LS_PIPE, '-|', '/bin/ls' ,'-l', $_ or die "Cannot open pipe from +'/bin/ls' because: $!";

Because if the found directory is at a depth greater than 1 ls reports that it cannot find the path obtained by using $File::Find::name (this is because find (by default) cd's into each directory but $File::Find::name returns the path from the 'root' of the search). But $_ returns the found directory name only, (local to the current directory)