diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-14 20:34:19 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-14 20:34:19 +0000 |
commit | d5b0d4def847c04f5763f1feb1c98b4f2785b6fb (patch) | |
tree | bfd5f46b7465d2da9955225c0f98aafec89a30fb /ext/IO | |
parent | 44464a025e4f32b72b835ec046467cda7099ad1d (diff) | |
download | perl-d5b0d4def847c04f5763f1feb1c98b4f2785b6fb.tar.gz |
kludge our way around warnings on C<use POSIX; use IO::File;>
p4raw-id: //depot/perl@5738
Diffstat (limited to 'ext/IO')
-rw-r--r-- | ext/IO/lib/IO/Seekable.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/IO/lib/IO/Seekable.pm b/ext/IO/lib/IO/Seekable.pm index bfcfc139aa..e09d48b9bf 100644 --- a/ext/IO/lib/IO/Seekable.pm +++ b/ext/IO/lib/IO/Seekable.pm @@ -48,7 +48,10 @@ require 5.005_64; use Carp; use strict; our($VERSION, @EXPORT, @ISA); -use IO::Handle qw(SEEK_SET SEEK_CUR SEEK_END); +use IO::Handle (); +# XXX we can't get these from IO::Handle or we'll get prototype +# mismatch warnings on C<use POSIX; use IO::File;> :-( +use Fcntl qw(SEEK_SET SEEK_CUR SEEK_END); require Exporter; @EXPORT = qw(SEEK_SET SEEK_CUR SEEK_END); |