Perl 5 has $[ which lets you set the base for every array. eg. $[ = 1; would cause all arrays to be 1-based. Thankfully they've now deprecated this misfeature ...
http://perldoc.perl.org/perlvar.html#Deprecated-and-removed-...
http://perldoc.perl.org/perlvar.html#Deprecated-and-removed-...