On Wed, 27 Aug 2003, Lars Thegler wrote:

> > I just emailed the author
>
> A worthy effort, indeed :)

At least I will have gained a better knowledge of CPAN ;--)

> While you are at it, you might want to support the whole range of SI
> prefixes (note that these are *not* units, but unit *prefixes*), check out
> http://physics.nist.gov/cuu/Units/prefixes.html to get them all.
>
> And be very careful; not everybody will agree with you that 'M' should mean
> 1024*1024 - communications people will insist that 64kbps is infact 64*10^3
> bps, and not 64*2^10 bps. IEC tried to define new names (kibi instead of
> kilo for 2^10), but I seriously doubt that these will ever get wider
> accceptance.

The primary use of this module is to display file sizes. It can certainly
also display memory sizes, but anything else, while possible (you can
configure the units, their relation and so on...) would probably be a
stretch.

I like the Gibi (the Gibis were a race in a French cartoon that I loved as
a kid: http://perso.club-internet.fr/wabnitz/Shadok/Shadok.htm (French))

> Also, if you look at harddisk capacity figures, some (most) manufacturers
> will say '80Gb' meaning 80*10^9 bytes, rather than 80*2^30. Makes the disks
> appear bigger than they are - standard salesman trick :)

You can configure the factor used, not to that level though, I would have
either to include this as a special case or to allow complete
customization of the unit table.

Maybe adding "styles" for other units would be a good option, if indeed I
release the module, which seems doubtfull at this point.

Michel Rodriguez
Perl & XML
http://www.xmltwig.com

Reply via email to