Upgrade to File::Spec 0.810_01 from CPAN by Barrie Slaymaker.
[p5sagit/p5-mst-13.2.git] / t / lib / io_unix.t
index 7338861..247647a 100644 (file)
@@ -22,7 +22,7 @@ BEGIN {
            $reason = 'IO extension unavailable';
        }
        elsif ($^O eq 'os2') {
-           use IO::Socket;
+           require IO::Socket;
 
            eval {IO::Socket::pack_sockaddr_un('/tmp/foo') || 1}
              or $@ !~ /not implemented/ or