Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Converting array of hash references to hash

by Anonymous Monk
on Apr 22, 2013 at 09:16 UTC ( #1029828=note: print w/replies, xml ) Need Help??


in reply to Converting array of hash references to hash

Why do you have ++ in  $_->{'deviceIp'}++ ?

Replies are listed 'Best First'.
Re^2: Converting array of hash references to hash
by anirudh.agarwal (Novice) on Apr 22, 2013 at 13:11 UTC
    I feel it is a similar way of giving $_->{'deviceIp'}=>1. But I am not sure.