in reply to Re: What makes good Perl code?
in thread What makes good Perl code?

I also condensed the if($current =~ m/mA/) stuff into this:
if($current =~ s/mA//i) { $current /= 1000; }
and put that everywhere it was in use.