in reply to Re^2: More efficient way to truncate long strings of the same character
in thread More efficient way to truncate long strings of the same character

I think you need a sanity check on your sanity check. Where is $_ set? More importantly, where is it not set?

Update: You've included GrandFather's sanity check, but missed his error in it. See Re^2: More efficient way to truncate long strings of the same character for my remarks on that.

  • Comment on Re^3: More efficient way to truncate long strings of the same character