For Programmers: Free Programming Magazines  


Home > Archive > PERL Programming > October 2006 > hash converting









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author hash converting
raprapidorap

2006-10-05, 3:59 am

Hi,

I've got a problem:

I wanna covert this hash

x => (a , b)
y => (a , c)
z => (a)

to a hash like this

a => (x, y, z)
b => (x)
c => (y)

Can somebody help me? Thanx

Robert
raprapidorap

2006-10-05, 5:12 am

quote:
Originally posted by raprapidorap
Hi,

I've got a problem:

I wanna covert this hash

x => (a , b)
y => (a , c)
z => (a)

to a hash like this

a => (x, y, z)
b => (x)
c => (y)

Can somebody help me? Thanx

Robert



somebody has some tips,...
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com