Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 studying the Monastery: (8)
As of 2015-07-04 13:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls