Avoid redefinition warning for MinGW
[p5sagit/p5-mst-13.2.git] / x2p / s2p.PL
index 7e65401..4b2daa9 100644 (file)
@@ -5,7 +5,7 @@ use File::Basename qw(&basename &dirname);
 use Cwd;
 use subs qw(link);
 
-sub link { # This is a cutdown vesion of installperl:link().
+sub link { # This is a cut-down version of installperl:link().
     my($from,$to) = @_;
     my($success) = 0;
 
@@ -17,7 +17,6 @@ sub link { # This is a cutdown vesion of installperl:link().
              : die "Couldn't link $from to $to: $!\n";
     };
     if ($@) {
-       warn $@;
        require File::Copy;
        File::Copy::copy($from, $to)
            ? $success++
@@ -787,7 +786,7 @@ sub makey($$$){
        my $fc = substr($fr,$i,1);
        my $tc = substr($to,$i,1);
        if( exists( $tr{$fc} ) && $tr{$fc} ne $tc ){
-           Warn( "ambiguos translation for character `$fc' in `y' command",
+           Warn( "ambiguous translation for character `$fc' in `y' command",
                  $fl );
            $error++;
        }
@@ -1861,7 +1860,7 @@ See L<"Additional Atoms">.
 
 =over 4
 
-=item ambiguos translation for character `%s' in `y' command
+=item ambiguous translation for character `%s' in `y' command
 
 The indicated character appears twice, with different translations.