-#!./perl
+#!./perl -w
BEGIN {
chdir 't' if -d 't';
use_ok( 'ExtUtils::Mkbootstrap' );
-
# Mkbootstrap makes a backup copy of "$_[0].bs" if it exists and is non-zero
my $file_is_ready;
local *OUT;
# with $Verbose set, it should print status messages about libraries
$ExtUtils::Mkbootstrap::Verbose = 1;
-Mkbootstrap();
+Mkbootstrap('');
is( $out->read, "\tbsloadlibs=\n", 'should report libraries in Verbose mode' );
Mkbootstrap('', 'foo');
close OUT;
# if $DynaLoader::bscode is set, write its contents to the file
+ # localize the variable to prevent "used only once"
+ local $DynaLoader::bscode;
$DynaLoader::bscode = 'Wall';
$ExtUtils::Mkbootstrap::Verbose = 0;