.\"return the number of references to a data structure .DT refs $MUDNAME$ driver help refs .SH Name .SI 5 refs() - return the number of references to a data structure .EI .SH Synopsis .SI 5 int refs( mixed data ); .EI .SH Description .SP 5 5 The number of references to `data' will be returned by refs(). This is useful for deciding whether or not to make a copy of a data structure before returning it. .EP .SH See also .SI 5 children(), inherit_list(), deep_inherit_list(), objects() .EI