@ISA = qw(IO::Handle IO::Seekable Exporter);
-$VERSION = "1.13";
+$VERSION = "1.13_01";
@EXPORT = @IO::Seekable::EXPORT;
} elsif ($mode =~ /:/) {
return open($fh, $mode, $file) if @_ == 3;
croak 'usage: $fh->open(FILENAME, IOLAYERS)';
- }
- if (defined($file) && length($file)
- && ! File::Spec->file_name_is_absolute($file))
- {
- $file = File::Spec->rel2abs($file);
- }
- $file = IO::Handle::_open_mode_string($mode) . " $file\0";
+ } else {
+ return open($fh, IO::Handle::_open_mode_string($mode), $file);
+ }
}
open($fh, $file);
}