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

Re: [5.8.12] Proposal for changing UNIVERSAL semantics

Thread Previous | Thread Next
From:
Tim Bunce
Date:
November 4, 2003 04:05
Subject:
Re: [5.8.12] Proposal for changing UNIVERSAL semantics
Message ID:
20031104120444.GB93735@dansat.data-plan.com
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 UNIVERSAL.pm 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.

Tim.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About