Tag Archives: Perl Variables

Ordered Hashes In Perl

Perl hashes have no internal order. A hash consists of a number of “buckets”. When a record is inserted into the hash, the key is transformed, using a “hash function”, into a bucket number. The details of the hash function itself are not important, but a good hash function ensures that even very similar keys… Read More »

TypeGlobes

The typeglob is a composite data type that contains one instance of each other data types. It is an amalgam of all Perl’s data types, from which it gets its name. It is a sort of ‘super reference’ whose value is not a single reference to something but six slots that can contain six different… Read More »