|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re^8: Getting mad with CGI::Application and utf8by Juerd (Abbot) |
| on Feb 27, 2008 at 11:09 UTC ( #670590=note: print w/ replies, xml ) | Need Help?? |
|
Let me repeat the question Do you expect me to repeat the answer too? :) If your subroutine or module specifically only handles binary strings, I'd recommend documenting it as such, and downgrading the string that you receive: That's more or less what Perl does in its binary operators, like print. Whatever you do, though, never assume that the absence of the flag means it's not a text string!
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||