in reply to Chomp(<handle>)

Thanks monks, I think I understand the complexities here a bit more. I have to say, intuitively I had expected chomp to return the modified string, not the number of characters removed. I suppose this indicates my intuition is, err, faulty. :)