http://www.perlmonks.org?node_id=853188


in reply to Named array indices

IIRC there is a deprecated approach to define hash-like arrays for this reason (actually I can't find it in the 5.10 docs anymore)

They were called pseudo hashes, but that functionality has been removed in 5.9 without any real replacement (unfortunately, IMHO).  (Yes, there's use fields which now uses restricted hashes internally, but I don't think that'll help with your requirement...)

Replies are listed 'Best First'.
Re^2: Named array indices
by LanX (Saint) on Aug 05, 2010 at 17:28 UTC
    They were called pseudo hashes,

    Ahhh ... excactly!

    I was googling with combinations with "Array" not "Hashes"! :)

    Cheers Rolf