in reply to Allocation of anonymous arrays
Any ideas?
An explanation of what problem you're trying to solve would be helpful
At first look (at this late hour), the way that hash is populated/used look kinda silly and poinless :)
Perl will hapilly reuse reference addresses ... since the hash keys are strings, as soon the references are gone, their refaddr's are free for reuse by perl
If you want unique keys you're better off using a UUID or some such like Session::Token - Portable, secure, efficient, simple random session token generation that satisfies those OWASP recommendations
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Allocation of anonymous arrays (ref addr repeats)
by Anonymous Monk on Feb 07, 2014 at 09:53 UTC | |
by Discipulus (Canon) on Feb 07, 2014 at 11:36 UTC | |
by Anonymous Monk on Feb 07, 2014 at 11:46 UTC |