in reply to checking reference equality
Using a reference as a number produces an integer representing its storage location in memory. The only useful thing to be done with this is to compare two references numerically to see whether they refer to the same location.
My Perl Fu is not so great as to let me weigh in on whether this is the "best" method.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: checking reference equality (ESP)
by tye (Sage) on May 11, 2009 at 07:03 UTC | |
|
Re^2: checking reference equality
by perl5ever (Pilgrim) on May 11, 2009 at 01:14 UTC | |
|
Re^2: checking reference equality
by John M. Dlugosz (Monsignor) on May 12, 2009 at 15:18 UTC |