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

Comparing Devel-FindRef/README (file contents):
Revision 1.6 by root, Sat Apr 26 03:15:28 2008 UTC vs.
Revision 1.7 by root, Fri Jul 11 22:18:10 2008 UTC

1NAME 1NAME
2 Devel::FindRef - where is that reference to my scalar hiding? 2 Devel::FindRef - where is that reference to my variable hiding?
3 3
4SYNOPSIS 4SYNOPSIS
5 use Devel::FindRef; 5 use Devel::FindRef;
6 6
7DESCRIPTION 7DESCRIPTION
30 testsub; 30 testsub;
31 31
32 The output is as follows (or similar to this, in case I forget to update 32 The output is as follows (or similar to this, in case I forget to update
33 the manpage after some changes): 33 the manpage after some changes):
34 34
35 SCALAR(0x7bd2d0) is 35 SCALAR(0x814ece8) is
36 in the global $Test::var. 36 +- in the global $Test::var.
37 referenced by REF(0x7bd240), which is 37 +- referenced by REF(0x814f9e4), which is
38 in the member 'ukukey2' of HASH(0x7bd228), which is
39 referenced by REF(0x81dae8), which is
40 in the lexical '$local' in CODE(0x81da88), which is 38 | in the lexical '$x' in CODE(0x814ed78), which is
39 | the containing scope for CODE(0x820c4b0), which is
41 in the global &Test::testsub. 40 | in the global &Test::testsub.
41 +- referenced by REF(0x814ed6c), which is
42 | in the member 'ukukey' of HASH(0x81da20c), which is
43 | in the global %Test::hash.
44 +- referenced by REF(0x814ec28), which is
45 | not found anywhere I looked :(
46 +- referenced by REF(0x814eb44), which is
47 in the member 'ukukey2' of HASH(0x814f99c), which is
42 referenced by REF(0x81da40), which is 48 +- referenced by REF(0x820c450), which is
49 | in the lexical '$local' in CODE(0x820c4b0), which was seen before.
50 +- referenced by REF(0x820c204), which is
43 in the global $Test::hash2. 51 in the global $Test::hash2.
44 referenced by REF(0x79f3f8), which is
45 in the lexical '$x' in CODE(0x79f518), which is
46 the containing scope for CODE(0x81da88), which is
47 in the global &Test::testsub.
48 referenced by REF(0x79f2f0), which is
49 not found anywhere I looked :(
50 referenced by REF(0x79f140), which is
51 in the member 'ukukey' of HASH(0x81d698), which is
52 in the global %Test::hash.
53 52
54 It is a bit convoluted to read, but basically it says that the value 53 It is a bit convoluted to read, but basically it says that the value
55 stored in $var can be found: 54 stored in $var can be found:
56 55
57 - in some variable $x whose origin is not known (I frankly have no idea 56 - in some variable $x whose origin is not known (I frankly have no idea
91 call on invalid ones. 90 call on invalid ones.
92 91
93 # 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:
94 my $ref_to_hash = Devel::FindRef::ptr2ref 0x176ff70; 93 my $ref_to_hash = Devel::FindRef::ptr2ref 0x176ff70;
95 94
95ENVIRONMENT VARIABLES
96 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
98 specified a depth it is not overridden.
99
96AUTHOR 100AUTHOR
97 Marc Lehmann <pcg@goof.com>. 101 Marc Lehmann <pcg@goof.com>.
98 102
99BUGS 103BUGS
100 Only code values, arrays, hashes, scalars and magic are being looked at. 104 Only code values, arrays, hashes, scalars and magic are being looked at.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines