… | |
… | |
4 | |
4 | |
5 | use XSLoader; |
5 | use XSLoader; |
6 | use Scalar::Util; |
6 | use Scalar::Util; |
7 | |
7 | |
8 | BEGIN { |
8 | BEGIN { |
9 | our $VERSION = '1.1'; |
9 | our $VERSION = '1.2'; |
10 | XSLoader::load __PACKAGE__, $VERSION; |
10 | XSLoader::load __PACKAGE__, $VERSION; |
11 | } |
11 | } |
12 | |
12 | |
13 | =head1 NAME |
13 | =head1 NAME |
14 | |
14 | |
… | |
… | |
45 | testsub; |
45 | testsub; |
46 | |
46 | |
47 | The output is as follows (or similar to this, in case I forget to update |
47 | The output is as follows (or similar to this, in case I forget to update |
48 | the manpage after some changes): |
48 | the manpage after some changes): |
49 | |
49 | |
50 | SCALAR(0x676fa0) is |
50 | SCALAR(0x7bd2d0) is |
|
|
51 | in the global $Test::var. |
51 | referenced by REF(0x676fb0), which is |
52 | referenced by REF(0x7bd240), which is |
|
|
53 | in the member 'ukukey2' of HASH(0x7bd228), which is |
|
|
54 | referenced by REF(0x81dae8), which is |
|
|
55 | in the lexical '$local' in CODE(0x81da88), which is |
|
|
56 | in the global &Test::testsub. |
|
|
57 | referenced by REF(0x81da40), which is |
|
|
58 | in the global $Test::hash2. |
|
|
59 | referenced by REF(0x79f3f8), which is |
52 | in the lexical '$x' in CODE(0x676370), which is |
60 | in the lexical '$x' in CODE(0x79f518), which is |
|
|
61 | the containing scope for CODE(0x81da88), which is |
|
|
62 | in the global &Test::testsub. |
|
|
63 | referenced by REF(0x79f2f0), which is |
53 | not found anywhere I looked :( |
64 | not found anywhere I looked :( |
54 | referenced by REF(0x676360), which is |
65 | referenced by REF(0x79f140), which is |
55 | in the member 'ukukey' of HASH(0x756660), which is |
66 | in the member 'ukukey' of HASH(0x81d698), which is |
56 | in the global %Test::hash. |
67 | in the global %Test::hash. |
57 | in the global $Test::var. |
|
|
58 | referenced by REF(0x6760e0), which is |
|
|
59 | in the member 'ukukey2' of HASH(0x676f30), which is |
|
|
60 | referenced by REF(0x77bcf0), which is |
|
|
61 | in the lexical '$local' in CODE(0x77bcb0), which is |
|
|
62 | in the global &Test::testsub. |
|
|
63 | referenced by REF(0x77bc80), which is |
|
|
64 | in the global $Test::hash2. |
|
|
65 | |
|
|
66 | |
68 | |
67 | It is a bit convoluted to read, but basically it says that the value |
69 | It is a bit convoluted to read, but basically it says that the value |
68 | stored in C<$var> can be found: |
70 | stored in C<$var> can be found: |
69 | |
71 | |
70 | =over 4 |
72 | =over 4 |