Help for this page

Select Code to Download


  1. or download this
    my %convert = ( KB => 10,
                    MB => 20,
    ...
       $num = $1 * 2 ** $convert{$2};
    }
    print $num;