On 9/5/07, Mike Martin <[EMAIL PROTECTED]> wrote: > I am having a problem with looping a string.
Have you tried stepping through your code in the debugger? > while ($count lt $str_length){ That looks like a place where you used a string comparison ('lt') but maybe meant a numeric comparison ('<'). Your code structure will be easier to understand if you indent consistently. Using 'use strict' and 'use warnings' will also help to improve your code. Does that get you closer to making your algorithm work? Good luck with it! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/