[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Re: exists $foo[7] and delete $foo[7]



>C<scalar @array> /would/ be better IMO, but C<values(@array)> would do the 
>trick.

>I know this is all just a side effect of pseudo-hashes, but I /like/ the 
>idea. There is a qualitative difference between undefined and entirely 
>absent as undefined is a value that a scalar can hold.

There must be something wrong with 

    if (10 < grep {defined} @array)

that I'm missing.

--tom


References to:
pete@horus.cix.co.uk (Pete Jordan)

[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]