[ Please do not top-post! ]
Tech list wrote:
Dr.Ruud wrote:
"Li, Jialin" schreef:
On Wed, May 14, 2008 at 4:01 PM, Tech list
<[EMAIL PROTECTED]> wrote:
what is the correct way to get the number of items in an array?
I used to use $#array
$#array is the index of the last item, so the number
Is $#array deprecated or not?
On May 14, 2008, at 5:35 PM, Dr.Ruud wrote:
"Li, Jialin" schreef:
On Wed, May 14, 2008 at 4:01 PM, Tech list
<[EMAIL PROTECTED]> wrote:
what is the correct way to get the number of items in an array?
I used to use $#array
--
To unsubscribe, e-mail: [EMAIL PRO
"Li, Jialin" schreef:
> On Wed, May 14, 2008 at 4:01 PM, Tech list
> <[EMAIL PROTECTED]> wrote:
>
>> what is the correct way to get the number of items in an array?
>>
>> I used to use $#array
>>
>>
>> --
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTEC
On Wed, 14 May 2008 16:01:54 -0500
Tech list <[EMAIL PROTECTED]> wrote:
> what is the correct way to get the number of items in an array?
>
> I used to use $#array
scalar(@array)
--
Levente Kovacs <[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
On Wed, May 14, 2008 at 4:01 PM, Tech list <[EMAIL PROTECTED]>
wrote:
> what is the correct way to get the number of items in an array?
>
> I used to use $#array
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> http://learn.perl.org/
>
>
>