use IPC::Cmd qw(can_run);
use File::Temp qw(tempfile);
-our $VERSION = '0.280230'; # VERSION
+our $VERSION = '0.280231'; # VERSION
# More details about C/C++ compilers:
# http://developers.sun.com/sunstudio/documentation/product/compiler.jsp
my ($ccbase, $ccpath, $ccsfx ) = fileparse($self->{config}{cc}, qr/\.[^.]*/);
## If the path is just "cc", fileparse returns $ccpath as "./"
- $ccpath = "" if $self->{config}{cc} =~ /^$ccbase$ccsfx$/;
+ $ccpath = "" if $self->{config}{cc} =~ /^\Q$ccbase$ccsfx\E$/;
foreach my $cxx (@{$cc2cxx{$ccbase}}) {
my $cxx1 = File::Spec->catfile( $ccpath, $cxx . $ccsfx);
isa_ok( $base, 'ExtUtils::CBuilder::Base' );
{
- $phony = 'foobar';
+ $phony = 'foobar++';
$base = ExtUtils::CBuilder::Base->new(
config => { cc => $phony },
);