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

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



london@pixelmagic.com writes:
: delete on a normal array should splice out that element,

No.  There's no point in duplicating the existing functionality, and I
think the abstraction forces the decision the other way.  Unfortunately,
what I think happens to be the way things usually go around here.  :-)

: or its another weirdness to remember about perl.

Mostly it's another weirdness that people will never learn until they
want to.  Just doc it under delete and exists, and leave it at that.

Larry


Follow-Ups from:
Joshua N Pritikin <joshua.pritikin@db.com>
References to:
london@pixelmagic.com

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