Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Trouble grepping values when hash contains multiple values per key

by dirtdog (Monk)
on Jun 05, 2010 at 17:39 UTC ( #843284=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://843284]
help
Chatterbox?
[Corion]: This evening, I'll kill that wrapper again, and just call LoadFile() in the plugin class directly instead of creating a go-between object for no real gain.
[Corion]: Writing these import plugins was really nice though - in about 2 hours, I had imports for CSV, YAML and JSON, and adding XLS(X), SQLite (or DBI) data sources is also trivial. I'm idly wondering about separating the plugin into transport+parser, so ...
[Corion]: ... http:// URLs could be retrieved and then parsed, but I think that that would be overkill for a toy static site generator ;)

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2018-05-22 11:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?