At 03:17 PM 11/4/05, Jeff 'japhy' Pinyan wrote:
On Nov 4, Frank Bax said:$aSuit{0}{'a'} = 'A'; $aSuit{0}{'b'} = 'B'; $aSuit{0}{'c'} = 'C'; $aSuit{1}{'a'} = 'D'; $aSuit{1}{'b'} = 'E'; $aSuit{1}{'c'} = 'F'; Now I want to make $aSuit{1} a copy of $aSuit{0} %aSuit{1} = %aSuit{0};Well, $aSuit{1} = $aSuit{0} would make $aSuit{1} and $aSuit{0} IDENTICAL. Meaning, when $aSuit{0}{a}, $aSuit{1}{a} changes too. If you don't want that, you can do:%{ $aSuit{1} } = %{ $aSuit{0} }; But that only works one level deep.
One level deep works for me! But IDENTICAL does not. Thanks for quick response (David too).
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
