in reply to Re^3: capturing command output
in thread capturing command output
Why is the number of layers of redirection an argument against backticks
Sorry, must be a misunderstanding. Of course backticks operator and open call are equivalent. I meant to say that the extra subroutine adds a layer. And unless the external command is trivial or absolutely, totally predictable, this comes in handy to instrument it. At least that is my experience. That's why I normally code a wrapper around system calls. More than one way etc...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: capturing command output
by JavaFan (Canon) on Jan 26, 2012 at 15:07 UTC | |
by pklausner (Scribe) on Jan 26, 2012 at 16:21 UTC | |
by JavaFan (Canon) on Jan 26, 2012 at 18:00 UTC | |
by pklausner (Scribe) on Jan 27, 2012 at 13:26 UTC | |
by JavaFan (Canon) on Jan 27, 2012 at 13:31 UTC |
In Section
Seekers of Perl Wisdom