John Porter wrote: > Uri Guttman wrote: > > >>>>> "JP" == John Porter <jdporter@min.net> writes: > > JP> ( $a, $b, @c ) ||= ( 1, 2, 3, 4, 5 ); > > > > yecch!! that implies the || is applied to each member on the left side > > and matching with the right side. > > Huh? > ( $a, $b, @c ) ||= ( 1, 2, 3, 4, 5 ); > would be the same as > ( $a, $b, @c ) or > ( $a, $b, @c ) = ( 1, 2, 3, 4, 5 ); But ($a,$b,@c) is always true! (@d,@e) may not always be true, but then, how many values go into each array with (@d,@e) ||= (1,2,3,4,5) ? I can't see this working unless it does distribute the ||= over the elements of the LHS, which is horrible. -- Peter Haworth pmh@edison.ioppublishing.com My other signature file has something funny at the bottom of it ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe