Jabir Ahmed wrote:
> Hello everyone,
Hello,
> I have a pretty simple problem
>
> example :
>
> @a=qw( 1 2 3 4 5 6 7 );
> $b=5;
>
> now i just want to check if the value of $b i.e 5
> exists in the array @a or not
>
> Q 1) is there any way other than looping through the
> array?
To do it wit
Jabir Ahmed wrote:
>
> --- [EMAIL PROTECTED] wrote:
>>
>>I am attempting to develop a script that will parse
>>a directory listing and return only directory names
>>that match a given expression.
>>
>>It would make sense to me to use File::Find to do
>>this but based on the dir structure I am pars
2005/10/8, Jabir Ahmed <[EMAIL PROTECTED]>:
> Hello everyone,
>
> I have a pretty simple problem
>
> example :
>
> @a=qw( 1 2 3 4 5 6 7 );
> $b=5;
>
> now i just want to check if the value of $b i.e 5
> exists in the array @a or not
>
> Q 1) is there any way other than looping through the
> array?
Hello everyone,
I have a pretty simple problem
example :
@a=qw( 1 2 3 4 5 6 7 );
$b=5;
now i just want to check if the value of $b i.e 5
exists in the array @a or not
Q 1) is there any way other than looping through the
array?
Q2 ) is there any predefined function to check the
existance of t
Hello
I have a pretty simple problem
ex:
@a=qw( 1 2 3 4 5 6 7 );
$b=5;
now i just want to check if the value of $b i.e 5
exists in the array @a or not
Q 1) is there any way other than looping through the
array?
Q2 ) is there any predefined function to check the
existance of the element in the