Mark Reed
unread,Aug 17, 2006, 12:30:16 PM8/17/06You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to perl6-l...@perl.org
S02 states that there is no ".length" method on Str's (or for cumulative
element length of Arrays); you have to ask explicitly for the units you
want to count . But then it goes on to define the StrPos and StrLen
types, which are unit-agnostic. So why not have a .length that returns
a StrLen? I envison some method or sub wanting to have access to the
length of a string, without necessarily having the string itself
available, in a context where the caller wouldn't know what level of
Unicode abstraction to use.