Notes from 2002-10-16 meeting

Douglas Wilson dgwilson1 at cox.net
Sun Oct 20 04:02:15 CDT 2002


~sdpm~
----- Original Message -----
From: "Tkil" <tkil-sdpm at scrye.com>

> * Identifying References, Blessings
>
>   The short answer is to use the "ref" function.  There are a few
>   tricks to this, however; the main being that blessed objects will
>   return only their package name to "ref", with no indication of the
>   type of reference underlying it.  You can get the type, even of a
>   blessed reference, by stringifying it:

Included in the latest perl (5.8) is Scalar::Util::reftype which returns the
reference type of the variable even for blessed variables.

-Doug

~sdpm~

The posting address is: san-diego-pm-list at hfb.pm.org

List requests should be sent to: majordomo at hfb.pm.org

If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo at happyfunball.pm.org> with the following
command in the body of your email message:

    unsubscribe san-diego-pm-list

If you ever need to get in contact with the owner of the list,
(if you have trouble unsubscribing, or have questions about the
list itself) send email to <owner-san-diego-pm-list at happyfunball.pm.org> .
This is the general rule for most mailing lists when you need
to contact a human.




More information about the San-Diego-pm mailing list