ExtUtils-CXX
view release on metacpan or search on metacpan
}
$val =~ s/^($PREFIX\s+)? \S+/$1g++/x;
done: ;
}
$tie->{$cfgvar} = $val;
}
sub extutils_cxx(&) {
my ($cb) = @_;
# make sure these exist
@Config{qw(cc ld)};
my $tie = tied %Config;
# now dive into internals of Config and temporarily patch those values
local $tie->{cc} = $Config{cc}; _ccrepl cc => "CXX";
( run in 1.001 second using v1.01-cache-2.11-cpan-49f99fa48dc )