… | |
… | |
72 | This is the function you most often use. |
72 | This is the function you most often use. |
73 | |
73 | |
74 | @references = Devel::FindRef::find $ref |
74 | @references = Devel::FindRef::find $ref |
75 | Return arrayrefs that contain [$message, $ref] pairs. The message |
75 | Return arrayrefs that contain [$message, $ref] pairs. The message |
76 | describes what kind of reference was found and the $ref is the |
76 | describes what kind of reference was found and the $ref is the |
77 | reference itself, which cna be omitted if "find" decided to end the |
77 | reference itself, which can be omitted if "find" decided to end the |
78 | search. |
78 | search. The returned references are all weak references. |
79 | |
79 | |
80 | The "track" function uses this to find references to the value you |
80 | The "track" function uses this to find references to the value you |
81 | are interested in and recurses on the returned references. |
81 | are interested in and recurses on the returned references. |
82 | |
82 | |
83 | $ref = Devel::FindRef::ptr2ref $integer |
83 | $ref = Devel::FindRef::ptr2ref $integer |