rocketperl has asked for the wisdom of the Perl Monks concerning the following question:
do { if(grep($genes[$index],@gl)) { print O "$genes[$index]\n"; $index++; } else { $index++; } } until($index==@genes);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to I check if a value is present in an array?
by moritz (Cardinal) on Aug 03, 2013 at 10:54 UTC | |
by Tux (Canon) on Aug 03, 2013 at 12:17 UTC | |
|
Re: How to I check if a value is present in an array?
by rjt (Curate) on Aug 03, 2013 at 11:19 UTC | |
|
Re: How to I check if a value is present in an array?
by tobyink (Canon) on Aug 03, 2013 at 14:48 UTC | |
|
Re: How to I check if a value is present in an array?
by mtmcc (Hermit) on Aug 03, 2013 at 11:00 UTC | |
|
Re: How to I check if a value is present in an array?
by Anonymous Monk on Aug 03, 2013 at 13:28 UTC | |
|
Re: How to I check if a value is present in an array?
by BillKSmith (Monsignor) on Aug 03, 2013 at 23:01 UTC |