develooper Front page | perl.perl5.porters | Postings from November 2003

Re: [5.8.12] Proposal for changing UNIVERSAL semantics

Thread Previous | Thread Next
Tim Bunce
November 4, 2003 04:05
Re: [5.8.12] Proposal for changing UNIVERSAL semantics
Message ID:
On Mon, Nov 03, 2003 at 12:37:49PM -0800, Michael Jacob wrote:
> Hi all,
> As we have seen in the last month, both UNIVERSAL:: and are broken in concept. Multiple fixes/workarounds have been discussed, but none took. So I took some time to layout the root of the problem in my head. This is the result:
> 1.) Change can()'s semantics.
> can() returns unexpected reults if any module changed something
> in the UNIVERSAL:: package. This can make other modules fail, we
> have seen this with DBI(!)... So:

Please be specific re the DBI, ideally with a test case.  And note
that the DBI imlements it's own can() method for handles.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About