Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://990403]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2016-12-05 11:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (80 votes). Check out past polls.