in reply to Re: How do you impose
in thread How do you impose "character" orientation on a string?
In current Perl, I think the taint-like trick is faster than having to pull and repack all the chars in the string.
I look forward to the new features when v5.8 comes out. Thanks for pointing that out. It's very annoying that there's not a set and test function for the mode bit, especially in the even earlier days when not all the built-ins worked right yet. Even today without input disciplines, we need to set the charmode on everything read in from a file!
|
|---|