summaryrefslogtreecommitdiff
path: root/pod/perlsub.pod
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-11-15 06:41:17 -0800
committerFather Chrysostomos <sprout@cpan.org>2014-11-15 06:57:53 -0800
commit89d1beed7e8ba85f11b6862ff90c085871cda880 (patch)
tree408fc4214b0d34e1c0b1ce470de8817d50a9b5b5 /pod/perlsub.pod
parent6edcbed6404ee551719c9a49397baea538aae7cc (diff)
downloadperl-89d1beed7e8ba85f11b6862ff90c085871cda880.tar.gz
Spell behaviour consistently in perlsub
We had six instances without U, and two with it.
Diffstat (limited to 'pod/perlsub.pod')
-rw-r--r--pod/perlsub.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlsub.pod b/pod/perlsub.pod
index 10eedf5574..75d92aa2e4 100644
--- a/pod/perlsub.pod
+++ b/pod/perlsub.pod
@@ -239,7 +239,7 @@ your subroutine's name.
return($x * __SUB__->( $x - 1 ) );
};
-The behaviour of C<__SUB__> within a regex code block (such as C</(?{...})/>)
+The behavior of C<__SUB__> within a regex code block (such as C</(?{...})/>)
is subject to change.
Subroutines whose names are in all upper case are reserved to the Perl
@@ -897,7 +897,7 @@ to safely reuse $_ in a subroutine.
B<WARNING>: Localization of tied arrays and hashes does not currently
work as described.
This will be fixed in a future release of Perl; in the meantime, avoid
-code that relies on any particular behaviour of localising tied arrays
+code that relies on any particular behavior of localising tied arrays
or hashes (localising individual elements is still okay).
See L<perl58delta/"Localising Tied Arrays and Hashes Is Broken"> for more
details.