This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
The first big import towards 5.8.1, @18078. Please do NOT
[perl5.git] / t / lib / h2ph.pht
index a52c160..796d6a8 100644 (file)
@@ -48,8 +48,9 @@ unless(defined(&_H2PH_H_)) {
     require 'sys/socket.ph';
     require 'sys/ioctl.ph';
     eval {
+       my(@REM);
        my(%INCD) = map { $INC{$_} => 1 } (grep { $_ eq "sys/fcntl.ph" } keys(%INC));
-       my(@REM) = map { "$_/sys/fcntl.ph" } (grep { not exists($INCD{"$_/sys/fcntl.ph"})and -f "$_/sys/fcntl.ph" } @INC);
+       @REM = map { "$_/sys/fcntl.ph" } (grep { not exists($INCD{"$_/sys/fcntl.ph"}) and -f "$_/sys/fcntl.ph" } @INC);
        require "$REM[0]" if @REM;
     };
     warn($@) if $@;