[tpm] Pipe expression result through external filter command

Antonio Sun antoniosun at lavabit.com
Mon May 14 09:06:40 PDT 2012


Hi,

My mind is blocked, and need your help.
I need to use an external filter command to further process
my Perl expression calculation, all within an Perl expression. How can I do
that?

Let me illustrate with an example,

I need to calculate 12+34, then pipe this expression result through an
external shell filter command, say 'rev'.

ultimately, I'm going to use the whole expression in the second part of
string replace 's/.../.../eg' operation.

Please help.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20120514/ce028ca8/attachment.html>


More information about the toronto-pm mailing list