On Sun, May 11, 2008 at 09:38:54AM +0200, Andreas Metzler wrote: > reassign 479957 perl-base > found 479957 5.10.0-10 > retitle 479957 Using IO::File together with POSIX causes warnings. (Constant > subroutine main::SEEK_SET redefined)
> # (SID)[EMAIL PROTECTED]:/tmp$ perl -w -e 'use IO::File;use POSIX;' > # Constant subroutine main::SEEK_SET redefined at -e line 1 > # Constant subroutine main::SEEK_END redefined at -e line 1 > # Constant subroutine main::SEEK_CUR redefined at -e line 1 Confirming; the core problem seems to be in IO::Seekable, and it contains this: 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); I'll look into this. -- Niko Tyni [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

