in reply to Re: Alternative to bytes::length()
in thread Alternative to bytes::length()
Or maybe the character length should be stored in string variables?
I think the length in characters might be cached using MAGIC -- I know some UTF-8 stuff is.
What's the problem with the current solution?
There was just a post to p5p from someone who wanted to terminate the bytes pragma with extreme prejudice. I wanted to mention this use case.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Alternative to bytes::length()
by ikegami (Patriarch) on Dec 23, 2009 at 02:02 UTC | |
by ikegami (Patriarch) on Dec 23, 2009 at 02:15 UTC | |
by creamygoodness (Curate) on Dec 23, 2009 at 02:25 UTC | |
Re^3: Alternative to bytes::length()
by assemble (Friar) on Dec 23, 2009 at 14:15 UTC | |
by ikegami (Patriarch) on Dec 23, 2009 at 15:02 UTC | |
by assemble (Friar) on Dec 23, 2009 at 15:47 UTC | |
by ikegami (Patriarch) on Dec 23, 2009 at 16:04 UTC | |
by WizardOfUz (Friar) on Dec 23, 2009 at 16:34 UTC | |
|
In Section
Seekers of Perl Wisdom