Check out the new USENIX Web site.
[ActiveState] Perl ref object - special attributes

Some special attributes are provided:

  p.__class__       # bless/ref
  p.__type__        # ref
  p.__value__       # scalar deref
  p.__wantarray__   # default call context

  p.foo             # returns method object
  p.__methodname__  # with this attribute set

 www.ActiveState.com 16/32 ««/\»»