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

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



On Thu, Jan 13, 2000 at 12:24:10PM -0800, Randy J. Ray wrote:
> I like the potential, but the well- (and strictly-) defined linear
> nature of arrays will lead people to believe things like:
> 
>        $a[100] = '0-99 do not yet exist';
>        # later in their code...
>        exists $a[23] or die "Why not? \$a[100] exists!";

Funny, I am always wondering why perl suddenly claims there are 101
elements when I'm fairly sure I've only set 1.

-- 
The idea is that the first face shown to people is one they can readily
accept - a more traditional logo. The lunacy element is only revealed
subsequently, via the LunaDude. [excerpted from the Lunatech Identity Manual]


References to:
Mark-Jason Dominus <mjd@plover.com>
"Randy J. Ray" <rjray@tzimisce.soma.redhat.com>

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