http://qs321.pair.com?node_id=381454


in reply to Use of the => operator

You can hook into Perl's constant parser using overload. See the section on overloading constants.