… | |
… | |
205 | call on valid addresses, but extremely dangerous to call on invalid ones. |
205 | call on valid addresses, but extremely dangerous to call on invalid ones. |
206 | |
206 | |
207 | # we know that HASH(0x176ff70) exists, so turn it into a hashref: |
207 | # we know that HASH(0x176ff70) exists, so turn it into a hashref: |
208 | my $ref_to_hash = Devel::FindRef::ptr2ref 0x176ff70; |
208 | my $ref_to_hash = Devel::FindRef::ptr2ref 0x176ff70; |
209 | |
209 | |
210 | =item $ref = Devel::FindRef::ref2ptr $reference |
210 | =item $ptr = Devel::FindRef::ref2ptr $reference |
211 | |
211 | |
212 | The opposite of C<ptr2ref>, above: returns the internal address of the |
212 | The opposite of C<ptr2ref>, above: returns the internal address of the |
213 | value pointed to by the passed reference. I<No checks whatsoever will be |
213 | value pointed to by the passed reference. I<No checks whatsoever will be |
214 | done>, so don't use this. |
214 | done>, so don't use this. |
215 | |
215 | |