That seems subjective to me.&nbsp; I don&#39;t find qx{} or $() any more legible than backticks (perhaps less so because I&#39;m used to using backticks), but YMMV.&nbsp; I guess that why TIMTOWTDI.<br><br><div class="gmail_quote">On Fri, Dec 19, 2008 at 5:39 PM, David Alban <span dir="ltr">&lt;<a href="mailto:extasia@extasia.org">extasia@extasia.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">both in perl and in shell backticks produce less readable code and in<br>
both languages there&#39;s a Better Way To Do It.<br>
<br>
use qx{ &nbsp;} in perl and $( &nbsp;) in shell. &nbsp;there is no reason to use<br>
backticks ever again.<br>
<br>
in shell, $( &nbsp;) has the additional benefit of being nestable.<br>
<br>
for qx{ &nbsp;} see the perlop man page. &nbsp;for $( &nbsp;) see the bash (or ksh) man page.<br>
<div class="Ih2E3d"><br>
On Fri, Dec 19, 2008 at 11:04 AM, Jeff Bragg &lt;<a href="mailto:jackofnotrades@gmail.com">jackofnotrades@gmail.com</a>&gt; wrote:<br>
&gt; You can also use backticks if you want to save/use the output, as in:<br>
&gt;<br>
&gt; my @batch_cmd_output &nbsp;= &nbsp;`./myshellscript -opt1 -opt2`;<br>
<br>
</div><font color="#888888">--<br>
Live in a world of your own, but always welcome visitors.<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
SanFrancisco-pm mailing list<br>
<a href="mailto:SanFrancisco-pm@pm.org">SanFrancisco-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/sanfrancisco-pm" target="_blank">http://mail.pm.org/mailman/listinfo/sanfrancisco-pm</a><br>
</div></div></blockquote></div><br>