http://qs321.pair.com?node_id=596037


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:
my $count = 0; while (..whatever..){ $count++; #do stuff last if $count == 3; }
Does this help?
s;;5776?12321=10609$d=9409:12100$xx;;s;(\d*);push @_,$1;eg;map{print chr(sqrt($_))."\n"} @_;