in reply to Hashes and hash references
This might be a silly question but is it more efficient to declare and uses hashes that way (reference)No, a direct hash will be marginally faster.
PS this is wrong:
it should bemy %student = {};
or even justmy %student = ();
as the hash is created empty alreadymy %student;
Dave.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Hashes and hash references
by Anonymous Monk on Sep 04, 2005 at 21:11 UTC |