Skip to content

Commit 343ee03

Browse files
committed
perlmod: change the ' deprecation note to mention the feature
1 parent 8e34742 commit 343ee03

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pod/perlmod.pod

+6-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,12 @@ the $s variable in package C<owner>, which is probably not what you meant.
8181
Use braces to disambiguate, as in C<"This is ${owner}'s house">.
8282
X<::> X<'>
8383

84-
Using C<'> as a package separator is deprecated and will be removed in
85-
Perl 5.40.
84+
85+
Use of C<'> as a package delimiter can be disabled with:
86+
87+
no feature 'apostrophe_as_package_separator';
88+
89+
and is also disabled by C<use v5.42;> or later.
8690

8791
Packages may themselves contain package separators, as in
8892
C<$OUTER::INNER::var>. This implies nothing about the order of

0 commit comments

Comments
 (0)