Try: if ( index( join( '', @{$HoL_engine{$router}}), $engine)<0 ){ I always have trouble looking into the actions of grep. Rest of the code seems OK to me...if (grep(/$engine/,@{$HoL_engine{$router}}) != 1){
Hope this helps,
Jeroen
"We are not alone"(FZ)
In reply to Re: Puzzling Hash of Arrays problem
by jeroenes
in thread Puzzling Hash of Arrays problem
by Tuna
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |