Hi,
I have an hash in perl of the form
How do I change the integral values to zero in each line using a map statement.Code:%hash = { val1 => ["string",1], val2 => ["string",10], val3 => ["string",100], val4 => ["string",1000], val5 => ["string",10000], val6 => ["string",100000], };
Right now I am naively looping through the keys of the hash.
I guess there must be a smaller way to do this.
Thx for the help!!
Bookmarks