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

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



>>>>> "Tom" == Tom Christiansen <tchrist@chthon.perl.com>
>>>>> wrote the following on Thu, 13 Jan 2000 13:25:26 -0700

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

  Tom> Funny, I don't recall Perl ever saying that.

perl -e '$a[100] = "something"; print scalar(@a)'
101

Randy
--
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Randy J. Ray            | "NSA doesn't need a key to compromise security in
rjray@redhat.com        | Windows. Programs like Back Orifice can do it without
415-777-9810 x246       | any keys." --Bruce Schneier on the MS/NSA controversy


References to:
Tom Christiansen <tchrist@chthon.perl.com>

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