ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Devel-FindRef/FindRef.pm
(Generate patch)

Comparing Devel-FindRef/FindRef.pm (file contents):
Revision 1.26 by root, Sun Aug 30 14:39:23 2009 UTC vs.
Revision 1.27 by root, Thu Apr 5 05:11:14 2012 UTC

205call on valid addresses, but extremely dangerous to call on invalid ones. 205call 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
212The opposite of C<ptr2ref>, above: returns the internal address of the 212The opposite of C<ptr2ref>, above: returns the internal address of the
213value pointed to by the passed reference. I<No checks whatsoever will be 213value pointed to by the passed reference. I<No checks whatsoever will be
214done>, so don't use this. 214done>, so don't use this.
215 215

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines