Devel::FindPerl(3pm)

Devel::FindPerl3pm

Find the path to your perl

Usage

 use Devel::FindPerl 'find_perl_interpreter';
 system find_perl_interpreter, '-e', '...';

Version

version 0.016

Overview

This module tries to find the path to the currently running perl. It (optionally) exports the following functions:

Functions

find_perl_interpreter($config = ExtUtils::Config->new)

This function will try really really hard to find the path to the perl running your program. I should be able to find it in most circumstances. Note that the result of this function will be cached for any serialized value of $config. It will return a list that usually but not necessarily is containing one element; additional elements are arguments that must be passed to that perl for correct functioning.

perl_is_same($path, @arguments)

Tests if the perl in $path is the same perl as the currently running one.

Security

This module by default does things that are not particularly secure (run programs based on external input). In tainted mode, it will try to avoid any insecure action, but that may affect its ability to find the perl executable.

Releases

3 releases since Debian 11 (Bullseye); the text changed 1 time.

  1. 11
  2. 12–13

Author

Leon Timmermans <[email protected]>, Randy Sims <[email protected]>

From libdevel-findperl-perl 0.016-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.