in reply to Unique numeric ID for reference?
Which should not *that* slow, especially if youmy @array = (1,2,3,4); my $ref = \@array; my $addr = hex +($ref=~/(?<=\()[^)]+/g)[0];
My question: why can't you take the wholemy $rs = sprintf "ARRAY(0x%x)", $addr;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Unique numeric ID for reference?
by Jeffrey Kegler (Hermit) on Oct 07, 2007 at 00:23 UTC |