sub O_BINARY declaration while already exported by IO::File
Bug #342246 reported by
Rakotomandimby Mihamina
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libdbd-xbase-perl (Ubuntu) |
Fix Committed
|
Undecided
|
Florian Schlichting |
Bug Description
Binary package hint: libdbd-xbase-perl
When using the xbase, I get this error:
Prototype mismatch: sub XBase::
To solve it, I have to remove the BEGIN block on XBase/Base.pm:
BEGIN { local $^W = 0;
if ($^O =~ /mswin/i) {
eval 'use Fcntl qw( O_BINARY )'
} else {
eval ' sub O_BINARY { 0 } '
}
}
It was an indication given by Paul Gaborit on fr.comp.lang.perl, and I
just report.
Ubuntu Intrepid package doesnt patch it yet.
To post a comment you must log in.
The bug has already filed upstream, by myself: /rt.cpan. org/Ticket/ Display. html?id= 44091
https:/