Can't declare other people's variables.
authorJarkko Hietaniemi <jhi@iki.fi>
Mon, 21 May 2001 11:24:43 +0000 (11:24 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 21 May 2001 11:24:43 +0000 (11:24 +0000)
p4raw-id: //depot/perl@10173

t/lib/b-stash.t

index 6991189..b5bfdf8 100644 (file)
@@ -39,7 +39,7 @@ if ($Is_VMS) {
     $a =~ s/-uVMS,-uVMS::Filespec,//;
     $a =~ s/-uSocket,//; # Socket is optional/compiler version dependent
 }
-use vars qw($OS2::is_aout);
+$OS2::is_aout||=0; # to thwart warning (OS2 special extra magic variable)
 if (($Config{static_ext} eq ' ' ||
      ($Config{static_ext} eq 'Socket' && $Is_VMS))
     && !($^O eq 'os2' and $OS2::is_aout)