in reply to Re^2: Internals question.
in thread Internals question.
You can use some perverted B for this. Maybe. This takes an AV, casts it to PV, makes it a real scalar, then fetches the value of the svu_pv pointer which I guess is the same as the svu_array pointer.
my $addr = pack 'p', bless( svref_2object( \ @ary ), 'B::PV' )->object_2svref;⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Internals question.
by BrowserUk (Patriarch) on Jul 23, 2007 at 18:35 UTC | |
by diotalevi (Canon) on Jul 23, 2007 at 22:13 UTC | |
by tye (Sage) on Jul 23, 2007 at 18:47 UTC | |
by BrowserUk (Patriarch) on Jul 23, 2007 at 18:54 UTC | |
|
Re^4: Internals question.
by jdporter (Paladin) on Jul 23, 2007 at 19:25 UTC |