in reply to Re^2: Trouble grepping values when hash contains multiple values per key
in thread Trouble grepping values when hash contains multiple values per key

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); }
  • Comment on Re^3: Trouble grepping values when hash contains multiple values per key
  • Download Code