in reply to not a list?
An absence of parens is changing your context, so you're seeing the number of matches, rather than the match(es) themselves.
($index) = grep $piclist[$_] eq $pic, 0 .. $#piclist;
--k.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: not a list?
by december (Pilgrim) on Jul 26, 2002 at 02:47 UTC |