Is there a module that can handle conversion from any multiple of byte to any other multiple? For example
$GB = &convert(kB,GB,$num);
This sub would take the first arg as what $num IS (a # of kB) and transform to GB.
$kB = &convert(GB,kB,$num);
This would take $num understood to be in GB and convert to kB...
The idea is faily simple but the multiples get annoying to have to account for all cases...?