Re: Module submission Acme::Holy

2003-06-16 Thread Ian Brayshaw
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

Re: Module submission Acme::Holy

2003-06-16 Thread Graham Barr
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

Re: Module submission Acme::Holy

2003-06-16 Thread Tim Bunce
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 >

Module submission Acme::Holy

2003-06-15 Thread Perl Authors Upload Server
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