note
kennethk
<p>Unfortunately, I think the simplest way to make this happen is to bite the bullet and mod the code. Assuming the commands are not too full of special characters, you should be able to get away with running a backup of the file through <c>s/`([^`]*)`.*?;\K/print \$log qq{$1};/g;</c> to automatically add print statements after all backticks. Obviously, you'll have to open the <c>$log</c> filehandle.
<p>Alternatively, you could hack a version of perl to output everything passed to backticks...
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-712372">
<p>#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.</p>
</div></div>
966661
966661