Permalink
Browse files

rename lsubstr to substr-rw

  • Loading branch information...
moritz committed May 15, 2012
1 parent c89725c commit f4e6701e938505a3c505fbea331c2fd6a4a64054
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Str.pm
View
@@ -866,7 +866,7 @@ sub chrs(*@c) {
@c.map({.chr}).join('');
}
-sub lsubstr($s is rw, $from = 0, $chars = $s.chars - $from) {
+sub substr-rw($s is rw, $from = 0, $chars = $s.chars - $from) {
my Str $substr = $s.substr($from, $chars);
Proxy.new(
FETCH => sub ($) { $substr },

0 comments on commit f4e6701

Please sign in to comment.