Convert Memory Size (Human readable) into Actual Number (bytes) in Perl
- by neversaint
Is there an actual package in CPAN to convert such string:
my $string = "54.4M"
my $string2 = "3.2G"
into the actual number in bytes:
54,400,000
3,200,000,000
And vice versa.