[tpm] Perl getting the output from .Net apps

Antonio Sun antoniosun at lavabit.com
Fri Mar 16 10:17:36 PDT 2012


On Fri, Mar 16, 2012 at 12:11 PM, Antonio Sun <antoniosun at lavabit.com>wrote:

> Now it is time to put Perl & .Net app together:
>
> $ seq 5 | perl -pe 's|^3$|`bin/Debug/ConsoleApp`|e;'
> 1
> 2
>
> 4
> 5
>
> Boom, it suddenly stops working.
>

I can now almost confirm that it might be caused by .net because I tried

seq 5 | perl -pe 's/^3$/`ipconfig`/e;'

I,e, perl + traditional dos app, and it works fine.

Any thoughts?

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


More information about the toronto-pm mailing list