Perl Monk, Perl Meditation | |
PerlMonks |
execute a command using OPENby kaka_2 (Sexton) |
on Sep 10, 2014 at 14:01 UTC ( [id://1100145]=perlquestion: print w/replies, xml ) | Need Help?? |
kaka_2 has asked for the wisdom of the Perl Monks concerning the following question: Hello Monks, I want to execute a command using open which is using "|" inside it. Sample command is "ls -ltr /tmp | wc -l". i wrote the simple codes as below.
and now i get a exception "Broken pipe". Can someone help me with it.
Back to
Seekers of Perl Wisdom
|
|