in reply to Re: Emulating -c within perl
in thread Emulating -c within perl

You probably want to exchange "perl" with "$^X" inside the backticks to ensure you're using the same Perl as you're currently running with. Unless of course you want to check the behaviour in another version of Perl. ;-)

Liz