why did the coder use a pipe in open() instead of using backticks or system()?
An even better question: Why didn't (s)he use File::Find? There is no need to spawn a child process just to find files in a directory tree.
Consider rewriting that code to use File::Find.
Alexander
In reply to Re: Interacting with the shell ( backticks, system(), open -| )
by afoken
in thread Interacting with the shell ( backticks, system(), open -| )
by jktstance
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |