On Thu, Aug 8, 2013 at 12:05 PM, Unknown User <knowsuperunkn...@gmail.com>wrote:

> at any point is it possible to say which element i am handling without
> using a counter?


Er, well, if it were an array rather than a list
my @letters = (a .. z);
foreach my $letter ( a .. z ) {
   if ( $letter eq $letters[4] ) {

but that's sort of silly.
-- 

a

Andy Bach,
afb...@gmail.com
608 658-1890 cell
608 261-5738 wk

Reply via email to