Acme-Holy
view release on metacpan or search on metacpan
we do if we know nothing of the inheritance tree of the object's class? Also,
if we don't have an object, just a normal reference, then attempting to call
C<isa()> through it will result in a run-time error.
B<holy()> is a quick, single test to determine if a given scalar represents
an object (i.e. a blessed reference).
=head2 EXPORT
By default, B<Acme::Holy> exports the method B<holy()> into the current
namespace. Aliases for B<holy()> (see below) may be imported upon request.
=head2 Methods
=over 4
=item B<holy> I<scalar>
B<holy()> accepts a single scalar as its argument, and, if that scalar is
a blessed reference, returns the name of the package the reference has been
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 of
the object's class? Also, if we don't have an object, just a normal
reference, then attempting to call "isa()" through it will result in a
run-time error.
holy() is a quick, single test to determine if a given scalar represents
an object (i.e. a blessed reference).
EXPORT
By default, Acme::Holy exports the method holy() into the current
namespace. Aliases for holy() (see below) may be imported upon request.
Methods
holy *scalar*
holy() accepts a single scalar as its argument, and, if that scalar
is a blessed reference, returns the name of the package the
reference has been blessed into. Otherwise, holy() returns "undef".
Method Aliases
To reflect that there are many terms for referring to something that is
( run in 0.851 second using v1.01-cache-2.11-cpan-0a6323c29d9 )