@ISA = qw(IO::Handle IO::Seekable Exporter DynaLoader);
-$VERSION = "1.0601";
+$VERSION = "1.0602";
@EXPORT = @IO::Seekable::EXPORT;
defined $perms or $perms = 0666;
return sysopen($fh, $file, $mode, $perms);
}
- $file = './' . $file unless substr($file, 0, 1) eq '/';
+ $file = './' . $file if $file =~ m{\A[^\\/\w]};
$file = IO::Handle::_open_mode_string($mode) . " $file\0";
}
open($fh, $file);