Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Improve wording about substr-rw aliasing
Thanks to itz++ for pointing out the sentence's meaning.
  • Loading branch information
Paul Cochrane committed Jun 9, 2015
1 parent 939451c commit b4b49fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion S32-setting-library/Str.pod
Expand Up @@ -446,7 +446,8 @@ string variable:
$string ~~ /(barney)/;
substr-rw($string, $0.from, $0.to) = "fred";

This writable reference can be aliased too, for repeated operations:
This writable reference can be the target of an alias, for repeated
operations:

my $r := substr-rw($string, $0.from, $0.to);
$r = "fred"; # "barney" replaced by "fred"
Expand Down

0 comments on commit b4b49fc

Please sign in to comment.