cez has asked for the wisdom of the Perl Monks concerning the following question:
whats the most elegant/simple solution to print a filesize at the appropriate scale?
for example,
given x KB, turn that into x.xxMB, x.xxGB, x.xxKB, etc.
i know this must be common, but everything I can think of is very clunky and ugly.
Back to
Seekers of Perl Wisdom