mike@stok.co.uk: > > > my $rv = ('a', 'b', 'c'); > > > show $rv; > > > my $rv2 = ('a', 'b', 'c', ()); > > > show $rv2; > > > > > > I would have expected $rv2 to be 'c' as I thought ('a', 'b', > > > 'c', ()) should be flattened to ('a', 'b', 'c'). The warnings > > > indicate that in the first case two values are useless, and in > > > the second three values are useless. I'm with Mike on this. my $rv2 = ('a', 'b', 'c', ()); my $rv2 = ('a', 'b', 'c', ); These two should not be different.Thread Previous | Thread Next