The join can be replaced by a less-noisy interpolating quote. If self-documentation is important, you may want a named constant for the mtime:
but I don't see much wrong with what you have.use constant MTIME => 9; my prettyFileTime = localtime( (stat "$dir/$file")[MTIME]);
After Compline,
Zaxo
In reply to Re: Clarifying code
by Zaxo
in thread Clarifying code
by peschkaj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |