On Monday 16 June 2003 10:17 am, Graham Barr wrote:
> On Mon, 2003-06-16 at 09:27, Tim Bunce wrote:
> > Is there a problem with this:
> >
> > $class = UNIVERSAL::isa( $foo, "UNIVERSAL") ? ref $foo : undef;
No,, but it is quite verbose.
> Also, there is Scalar::Util::blessed
Yep. More fool me
On Mon, 2003-06-16 at 09:27, Tim Bunce wrote:
> On Mon, Jun 16, 2003 at 04:31:06AM +0200, Perl Authors Upload Server wrote:
> >
> > Can't we use UNIVERSAL::isa()? Yes, and no. If you already have an
> > object, then isa() will let you know if it inherits from a given
> > class. But wha
On Mon, Jun 16, 2003 at 04:31:06AM +0200, Perl Authors Upload Server wrote:
>
> Can't we use UNIVERSAL::isa()? Yes, and no. If you already have an
> object, then isa() will let you know if it inherits from a given
> class. But what do we do if we know nothing of the inheritance tree
>
The following module was proposed for inclusion in the Module List:
modid: Acme::Holy
DSLIP: Rdcfp
description: Test whether references are blessed.
userid: IBB (Ian Brayshaw)
chapterid:2 (Perl_Core_Modules)
communities:
similar:
rationale:
Acme::Holy p