in reply to Simple concatenation of hashes
I can't come up with a situation where this is not what you want. Consider:
$a = 1; $a = 2; print "\$a is $a\n"; $a[0] = 1; $a[0] = 2; print "\$a[0] is $a[0]\n"; $a{key} = 'value'; $a{key} = 'newvalue'; print "\$a{key} = $a{key}\n";
While, of course, you can't rely on the keys of %a coming out in any particular order, why would you expect the keys of %b to come out before the keys of %a?
If it ever changes, yes, it's a bug in Perl. It won't change.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Simple concatenation of hashes
by Anonymous Monk on Aug 15, 2003 at 03:29 UTC | |
|
Re: Re: Simple concatenation of hashes
by gholley (Initiate) on Aug 15, 2003 at 03:32 UTC |