Re: %hash1 >>...<< %hash2
by Larry Wall other posts by this author
Jun 14 2005 2:39PM messages near this date
Re: %hash1 >>...<< %hash2
|
Re: %hash1 >>...<< %hash2
On Tue, Jun 14, 2005 at 12:55:37PM -0700, Brent 'Dax' Royal-Gordon wrote:
: David Formosa (aka ? the Platypus) <dformosa@[...].au> wrote:
: > If you consider arrays to be hashes keyed by integers then @a >>..<<
: > @b does the equiverlent of an inner join. I would suggest that if we
: > are going to have outer join versions then we have something like this
:
: It does? I thought that when +@a != +@b, the shorter one got
: "extended" with undefs...
Yes, though now we might consider extending it with identity values
for those operators that define one. I can argue that both ways,
which probably means it needs to be a pragma. Likewise it might be
operator and pragma dependent how two mismatched mishmashed hashes
are to be intertwingled.
Larry
Thread:
Luke Palmer
Brent 'Dax' Royal-Gordon
Larry Wall
Mark A. Biggar
|