in reply to POSIX strftime format question

You can use the %o specification of the Date::Format module.

perl -MDate::Format -e 'print time2str("%o", 86400);'

YuckFoost