[Padre-dev] New Padre::Perl API for perl locating

Gabor Szabo szabgab at gmail.com
Wed Aug 5 04:23:39 PDT 2009


On Wed, Aug 5, 2009 at 3:46 AM, Adam Kennedy<adamkennedybackup at gmail.com> wrote:
> We've had a few problems recently having the location of the "right" Perl
> for running sub-processes in.
>
> I've just landed a new Padre::Perl class which should deal with the
> abstraction of this issue.
>
> It provides three functions.
>
> Padre::Perl::perl() - Whichever Perl we are in now
>
> Padre::Perl::cperl() - The version of Perl we should use to run stuff that
> clearly needs to be in a command line context.
>
> Padre::Perl::wxperl() - The version of Perl we should use to run stuff that
> clearly needs to be in a windowing/Wx-specific context.
>

Can we have some kind of a more generalized API for identifying the
executable of the current file type ?

Perl 6 can have multiple executers and other languages such Ruby and Python
might have several executables as well - native, on top of Parrot, etc.

Gabor


More information about the Padre-dev mailing list