I just changed the until loop to a while loop and now it's working as expected
Sorry for wasting your time...I was not thinking clearly
while (my @date = grep /$new_ex_date/,@{$countries{$cntry_of_issue}}) { $new_date=get_next_bus_day($new_date); }
In reply to Re^3: Trouble grepping values when hash contains multiple values per key
by dirtdog
in thread Trouble grepping values when hash contains multiple values per key
by dirtdog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |