in reply to
Re: Checking Arrays
in thread
Checking Arrays
Use $#search to find the size of the array.
Slightly OT seeing as that's not what the poster was asking. Anyhoo, that's
not
how you find the size of an array. You'd want to do something like this:
my $count = @search;
[download]
Update
: Useless use of scalar alert, cheers
Abigail-II
!
--
vek
--
Comment on
Re: Re: Checking Arrays
Download
Code
Replies are listed 'Best First'.
Re: Checking Arrays
by
Abigail-II
(Bishop)
on Aug 19, 2002 at 13:43 UTC
Useless use of
scalar
alert!
my $count = @search;
[download]
will do fine.
Abigail
[reply]
[d/l]
[select]
In Section
Seekers of Perl Wisdom