Jerry Preston <[EMAIL PROTECTED]> wrote: : : I have the following hash:
This is not a hash. it is a partial algorithm. It contains at least two hashes. Neither of which seem to be a hash of an array of arrays. Can you show us the hash you're referring to? : for $j ( 1..20 ) { : for $i ( 0..$DAT{ good_setups }{ $id } ) { : $pin{ order }{ $i }{ $j } = $DAT{ pin }{ $id }{ $i : }{ $j }{ 0 : } if $DAT{ pin }{ $id }{ $i }{ $j }{ 0 } > 0; : $pin{ depth }{ $i }{ $j } = $DAT{ height }{ $id }{ $i : }{ $j }{ 0 } : if $DAT{ pin }{ $id }{ $i }{ $j }{ 0 } > 0; : } : } : : I need it in the following format: How does the data below correlate to the hash you didn't show us? : : my @data = ( [ '01', '02', '03', '04', '05', '06', '07', '08', '09', : '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', ], : [qw/ 15 15 15 16 16 18 18 19 21 22 22 : 22 23 23 24 25 25 26 26 27/ ], : [qw/ 15 15 16 16 17 18 19 20 21 21 22 : 22 23 23 24 24 24 24 24 25/ ], [snipped some] HTH, Charles K. Clarkson -- Head Bottle Washer, Clarkson Energy Homes, Inc. Mobile Home Specialists 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]