Running two different version of perl from the same script
Paul LeoNerd Evans
leonerd at leonerd.org.uk
Wed Jan 17 00:27:44 GMT 2007
On Mon, 15 Jan 2007 15:25:25 +0000
Andy Ford <andy.ford at telindus.co.uk> wrote:
> I have a OTS app that requires it's own version of perl and also a version
> of my own. Is using IPC::Run the only/best way to access both versions of
> perl in the same script?
You may like the look of a module I wrote:
http://search.cpan.org/~pevans/IPC-PerlSSH-0.05/lib/IPC/PerlSSH.pm
It's intended ideally for SSH, but there's no reason you couldn't ask it
to run a plain perl binary instead of running an ssh commandline.
--
Paul "LeoNerd" Evans
leonerd at leonerd.org.uk
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/
More information about the london.pm
mailing list