in reply to Re: The simplest possible pattern match defeats me
in thread The simplest possible pattern match defeats me
Output:80 my $oldString = $allChanges->[$k]->getOldString(); 81 my $newString = $allChanges->[$k]->getNewString(); 82 $logger->debug("oldString = (", $oldString, ")"); 83 $logger->debug("newString = (", $newString, ")"); 84 print Dumper($oldString); 85 sleep 1; 86 87 if ($oldString eq "Automated") { 88 $logger->debug("old string = ", $oldString); 89 $logger->debug("new string = ", $newString); 90 }
INFO main:::78: Change 2 was to the Automated field of testCase HIREX- +16845 on createdDate 2013-05-13 11:34:52 Old String = (Ready For Inte +gration) New String = Automated DEBUG main:::82: oldString = (Ready For Integration) DEBUG main:::83: newString = (Automated) $VAR1 = 'Ready For Integration'; Use of uninitialized value in pattern match (m//) at weeklyAutomationC +hanges.pl line 87. Use of uninitialized value in pattern match (m//) at weeklyAutomationC +hanges.pl line 87. DEBUG main:::352: old string = Ready For Integration DEBUG main:::353: new string = Automated DEBUG main:::355: New string = Automated
-Logan
"What do I want? I'm an American. I want more."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: The simplest possible pattern match defeats me
by LanX (Saint) on May 23, 2013 at 03:23 UTC | |
by logan (Curate) on May 23, 2013 at 17:47 UTC | |
by Anonymous Monk on May 23, 2013 at 18:04 UTC | |
by LanX (Saint) on May 24, 2013 at 03:20 UTC |