SPUG: Request for feedback on file-size humanizing routine
Jeremy Devenport
jeremy at weezel.com
Thu Sep 7 02:27:38 CDT 2000
Just out of curiosity has anyone looked at Number::Format? It seems to do
the same thing.
Jeremy
-----Original Message-----
From: owner-spug-list at pm.org [mailto:owner-spug-list at pm.org]On Behalf Of
Bill Campbell
Sent: Wednesday, September 06, 2000 3:00 PM
To: SPUG
Subject: Re: SPUG: Request for feedback on file-size humanizing routine
On Wed, Sep 06, 2000 at 02:31:38PM -0700, Jeremy A. Mates wrote:
>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'm attaching one I've been using for several years that adds commas
to integer and decimal numbers for pretty printing.
Bill
--
INTERNET: bill at Celestial.COM Bill Campbell; Celestial Systems, Inc.
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
"The strongest reason for the people to retain the right to keep and
bear arms is, as a last resort, to protect themselves against tyranny
in government." --1 Thomas Jefferson Papers, 334 (C.J.Boyd, Ed.,1950)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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