in reply to Re^2: String manipulation
in thread String manipulation
My code is working
Try and run it. It does not compile.
My code is working
Fix the compiler errors and then fix the logical errors so it produces what you say it should.
My code is working
Your code is most certainly not working. Just look at the loop and tell me how many loops you will get for $step = 1000 and numOfMembers = 1000. I get 1 loop, how about you? Don't see that adding 1000 members......
for (my $i=2; $i<=$numOfMembers; $i+=$step) {
cheers
tachyon
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: String manipulation
by hotshot (Prior) on Aug 01, 2004 at 14:42 UTC | |
by tachyon (Chancellor) on Aug 02, 2004 at 02:53 UTC |
In Section
Seekers of Perl Wisdom