in reply to Re: while loop on binary : \x30
in thread while loop on binary : \x30

For the future I must avoid using 'while' to munch a string.

You can test for length like  while(length $string){..} instead of True and False (aka Booleans)