Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-08-20 22:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (124 votes), past polls