Skip to content

Commit

Permalink
More removal of our; this is probably so far as we can go for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Apr 4, 2010
1 parent c467c5c commit f5b18c9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions src/core/Any-str.pm
Expand Up @@ -259,11 +259,11 @@ augment class Any {
}
}

our multi sub ord($string) {
multi sub ord($string) {
$string.ord;
}

our proto ord($string) {
proto ord($string) {
$string.ord;
}

Expand All @@ -283,22 +283,22 @@ our multi sub infix:<leg>($a, $b) {
~$a cmp ~$b
}

our multi split ( Str $delimiter, Str $input, Int $limit = * ) {
multi split ( Str $delimiter, Str $input, Int $limit = * ) {
$input.split($delimiter, $limit);
}

our multi split ( Regex $delimiter, Str $input, Int $limit = * ) {
multi split ( Regex $delimiter, Str $input, Int $limit = * ) {
$input.split($delimiter, $limit);
}

our multi sub sprintf($str as Str, *@args) {
multi sub sprintf($str as Str, *@args) {
$str.sprintf(|@args)
}

our proto sub uc($string) { $string.uc; }
our proto sub ucfirst($string) { $string.ucfirst; }
our proto sub lc($string) { $string.lc; }
our proto sub lcfirst($string) { $string.lcfirst; }
our proto sub capitalize($string) { $string.capitalize; }
proto sub uc($string) { $string.uc; }
proto sub ucfirst($string) { $string.ucfirst; }
proto sub lc($string) { $string.lc; }
proto sub lcfirst($string) { $string.lcfirst; }
proto sub capitalize($string) { $string.capitalize; }

# vim: ft=perl6
4 changes: 2 additions & 2 deletions src/core/Array.pm
Expand Up @@ -97,5 +97,5 @@ augment class Array {
}
}

our proto sub pop(@array) { @array.pop; }
our proto sub shift(@array) { @array.shift; }
proto sub pop(@array) { @array.pop; }
proto sub shift(@array) { @array.shift; }

0 comments on commit f5b18c9

Please sign in to comment.