On Tue, 19 Jun 2001, Dave Rolsky wrote:

> On Tue, 19 Jun 2001, Matt Sergeant wrote:
>
> > > similar test works fine for me:
> > > package My;
> > > use base qw(Cwd Socket Fcntl);
> > > sub new { bless {} }
> >
> > This was a perl 5.6.0 bug in base.pm.
>
> Actually, for what its worth this was a bug in the caching done for
> checking ->isa.  The bug exists in at least 5.00503 and 5.6.0 and maybe
> earlier Perls.  In 5.00503 base.pm did not use ->isa so it didn't trigger
> the bug.  In 5.6.0 base.pm did use ->isa.  This is all fixed in 5.6.1.

That, and use base is unusable in 5.5, because it doesn't require() the
module. But this is way off topic now :-)

-- 
<Matt/>

    /||    ** Founder and CTO  **  **   http://axkit.com/     **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** mod_perl news and resources: http://take23.org  **
     \\//
     //\\
    //  \\


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to