Hi Guys, Would just like to ask for your wisdom on what approach can I do to make sed work with qx on a loop. It is working on the first loop but failing on the succeeding loops. Thanks in advance.
foreach (@SetBCs) { my $command = qx(sed -n "/Sets/,/Rules/p" $_); print $command; }
In reply to qx + sed not working by Maestro815
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |