Permalink
Browse files

simplified mult_op now implicit multiplication works as expected

  • Loading branch information...
1 parent 58747af commit 9c376f1645a3c15b4bdd6fab5a3f34bea6e78d9c @jberger committed Feb 18, 2012
Showing with 1 addition and 8 deletions.
  1. +1 −8 lib/Math/ParseUnit/Parser.pm
@@ -119,14 +119,7 @@ sub mult_op {
shift;
my $ql = shift;
while (@_) {
- my ($op, $qr);# = (shift, shift);
- if ($_[0] =~ m#\*|/#) {
- $op = shift;
- } else {
- $op = '*';
- }
-
- $qr = shift;
+ my ($op, $qr) = (shift, shift);
#print STDERR Dumper [$ql, $op, $qr];

0 comments on commit 9c376f1

Please sign in to comment.