Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^4: Alternative to bytes::length()by creamygoodness (Curate) |
on Dec 23, 2009 at 02:25 UTC ( [id://814043]=note: print w/replies, xml ) | Need Help?? |
Looks like you found the caching mechanism. From perlguts:
As for keeping bytes... meh, my attachment to the bytes pragma extended only to that use case, as the efficiency of CORE::length() with SVf_UTF8 scalars is a bummer. I'm not even going to bother posting to p5p now that my concern has been addressed another way.
In Section
Seekers of Perl Wisdom
|
|