SPUG: Request for feedback on file-size humanizing routine

Jeremy A. Mates jmates at mbt.washington.edu
Wed Sep 6 16:31:38 CDT 2000


Hello-

I threw together a routine that takes random numbers (presumed bytes),
and converts them to sizes that a human can read, available at:

http://www.sial.org/code/perl/scripts/human.pl

I would like feedback on any improvements that could be made, or perhaps
the name of a module on CPAN the subroutine could be leeched onto.  A
new one called File::Util maybe, as I couldn't find any suitable
existing module...

-- 
Jeremy Mates                           (206) 221-4714   Fax: 685-7301
Systems Administrator                  K353-B, Health Sciences Center
http://www.mbt.washington.edu/         Box 357730
University of Washington               Seattle, WA, 98195


 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
  Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/





More information about the spug-list mailing list