… | |
… | |
128 | Better yet: don't use this module in this case. |
128 | Better yet: don't use this module in this case. |
129 | |
129 | |
130 | refcnt_rv scalar[, newrefcnt] |
130 | refcnt_rv scalar[, newrefcnt] |
131 | Works like "refcnt", but dereferences the given reference first. |
131 | Works like "refcnt", but dereferences the given reference first. |
132 | This is useful to find the reference count of arrays or hashes, |
132 | This is useful to find the reference count of arrays or hashes, |
133 | which cnanot be passed directly. Remember that taking a reference of |
133 | which cannot be passed directly. Remember that taking a reference of |
134 | some object increases it's reference count, so the reference count |
134 | some object increases it's reference count, so the reference count |
135 | used by the *_rv-functions tend to be one higher. |
135 | used by the *_rv-functions tend to be one higher. |
136 | |
136 | |
137 | refcnt_inc_rv scalar |
137 | refcnt_inc_rv scalar |
138 | Works like "refcnt_inc", but dereferences the given reference first. |
138 | Works like "refcnt_inc", but dereferences the given reference first. |