… | |
… | |
90 | call on invalid ones. |
90 | call on invalid ones. |
91 | |
91 | |
92 | # we know that HASH(0x176ff70) exists, so turn it into a hashref: |
92 | # we know that HASH(0x176ff70) exists, so turn it into a hashref: |
93 | my $ref_to_hash = Devel::FindRef::ptr2ref 0x176ff70; |
93 | my $ref_to_hash = Devel::FindRef::ptr2ref 0x176ff70; |
94 | |
94 | |
|
|
95 | $ref = Devel::FindRef::ref2ptr $reference |
|
|
96 | The opposite of "ptr2ref", above: returns the internal address of |
|
|
97 | the value pointed to by the passed reference. *No checks whatsoever |
|
|
98 | will be done*, so don't use this. |
|
|
99 | |
95 | ENVIRONMENT VARIABLES |
100 | ENVIRONMENT VARIABLES |
96 | You can set the environment variable "PERL_DEVEL_FINDREF_DEPTH" to an |
101 | You can set the environment variable "PERL_DEVEL_FINDREF_DEPTH" to an |
97 | integer to override the default depth in "track". If a call explicitly |
102 | integer to override the default depth in "track". If a call explicitly |
98 | specified a depth it is not overridden. |
103 | specified a depth it is not overridden. |
99 | |
104 | |