in reply to Auto Incrementing Variable in While Statement
It might help to post the code, however I think you're after something like this:
Does this help?my $count = 0; while (..whatever..){ $count++; #do stuff last if $count == 3; }
s;;5776?12321=10609$d=9409:12100$xx;;s;(\d*);push @_,$1;eg;map{print chr(sqrt($_))."\n"} @_;
In Section
Seekers of Perl Wisdom