ExtUtils::ParseXS::Eval - Clean package to evaluate code in
use ExtUtils::ParseXS::Eval;my $rv = ExtUtils::ParseXS::Eval::eval_typemap_code( $parsexs_obj, "some Perl code");
Sets up various bits of previously global state (formerly ExtUtils::ParseXS package variables) for eval'ing output typemap code that may refer to these variables.
Warns the contents of$@
if any.
Not all these variables are necessarily considered "public" wrt. use in typemaps, so beware. Variables set up from the ExtUtils::ParseXS object:
$Package $Alias $func_name $Full_func_name $pname
Variables set up from$other_hashref
:
$var $type $ntype $subtype $arg
Sets up various bits of previously global state (formerly ExtUtils::ParseXS package variables) for eval'ing output typemap code that may refer to these variables.
Warns the contents of$@
if any.
Not all these variables are necessarily considered "public" wrt. use in typemaps, so beware. Variables set up from the ExtUtils::ParseXS object:
$Package $Alias $func_name $Full_func_name $pname
Variables set up from$other_hashref
:
$var $type $ntype $subtype $num $init $printed_name $arg $argoff
Eventually, with better documentation and possible some cleanup, this could be part ofExtUtils::Typemaps
.
Perldoc Browser is maintained by Dan Book (DBOOK). Please contact him via theGitHub issue tracker oremail regarding any issues with the site itself, search, or rendering of documentation.
The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via thePerl issue tracker, themailing list, orIRC to report any issues with the contents or format of the documentation.