Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: using pipes in a system() callby Fletch (Bishop) |
on Dec 07, 2005 at 19:26 UTC ( [id://514995]=note: print w/replies, xml ) | Need Help?? |
Great idea, then he'll have two copies of the same string which can very easily get out of sync with each other leading to even more fun to track down bugs when it starts printing one thing and executing another! (This is why several people have recommended building the command in a scalar and print the scalar before passing it to system; change it once change it everywhere).
In Section
Seekers of Perl Wisdom
|
|