Tag Archives: Perl

A Date with Perl

Dates and times are confusing and crazy. What nut invented Daylight Saving Time? Someone who’d never imagined a computer, that’s who! Dealing with dates and times might seem simple at first, but there’s a lot of gotchas. This talk will start by covering some concepts worth knowing about (What is an Olson timezone? What’s the… Read More »

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 »