in reply to Merging two @ARRAYS into a %HASH

This is nice in a general purpose sense.

In the specific instances you mention, though, you might want to also check out Time::localtime (and Time::gmtime) and File::stat, which provide by-name interfaces to their respective built-ins.