Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: populating a HoA with regexp

by asqwerty (Acolyte)
on Aug 29, 2012 at 08:05 UTC ( #990403=note: print w/ replies, xml ) Need Help??


in reply to Re: populating a HoA with regexp
in thread populating a HoA with regexp

I think that

/^($pattern)/ and push @{$dfs{$1}}, $_;

is readable enough. Maybe even more readable (in a perl way) than my previous solution.


Comment on Re^2: populating a HoA with regexp
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://990403]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2014-12-20 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (96 votes), past polls