in reply to Perl & modulus

What kind of loop are you trying to perform?
This modulus loop runs, hope this gets you in the right direction:
my $i=99; while (($i%5)!=0) { print "$i not evenly divisible by 5.\n"; $i--; }

-Kevin
my $a='62696c6c77667269656e6440676d61696c2e636f6d'; while ($a=~m/(^.{2})/s) {print unpack('A',pack('H*',"$1"));$a=~s/^.{2}//s;}