Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Getting keys or values of a file based hash

by choroba (Archbishop)
on Feb 28, 2020 at 17:18 UTC ( #11113557=note: print w/replies, xml ) Need Help??


in reply to Re: Getting keys or values of a file based hash
in thread Getiing keys or values of a file based hash

> you should avoid using keys or values inside a while(each) loop.

It's easier to always avoid each which is the advice I listen to.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11113557]
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: (6)
As of 2020-05-27 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (153 votes). Check out past polls.

    Notices?