blessed v unblessed references

Dave Cross dave at dave.org.uk
Fri May 2 11:10:08 BST 2008


Quoting Dirk Koopman <djk at tobit.co.uk>:

> How do you safely tell whether a reference is blessed or not? When I
> say safely, I mean without the runtime aborting.

Use the "blessed" function from Scalar::Util.

Dave...



More information about the london.pm mailing list