Help for this page
if ($current =~ /mA/) { $current =~ s/mA//; ... }
if ($current =~ s/mA//) { ... }
if ($current =~ /mA/) { $current =~ s///; ... }