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"} @_;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Auto Incrementing Variable in While Statement
by logie17 (Friar) on Jan 23, 2007 at 07:37 UTC | |
Re^2: Auto Incrementing Variable in While Statement
by htmanning (Friar) on Jan 24, 2007 at 20:38 UTC |
In Section
Seekers of Perl Wisdom