in reply to Re: strange syntax
in thread strange syntax

On the same lines if last-index-of-array variable, $#x, is assigned -1, array becomes empty (mentioned in perldata) ...

DB<1> @x = ( 1 , 2 ) DB<2> x @x 0 1 1 2 DB<3> $#x = -1 DB<4> x @x empty array DB<5>