summaryrefslogtreecommitdiff
path: root/lib/SelfLoader.pm
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-03 02:19:50 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-03 02:19:50 +0000
commit14455d6cc193f1e4316f87b9dbe258db24ceb714 (patch)
tree0722cfd9590d6e717d6a7f06bbb534593146dee6 /lib/SelfLoader.pm
parent36f31b5005f0d5567cbdeeea5b6180abf2936b23 (diff)
downloadperl-14455d6cc193f1e4316f87b9dbe258db24ceb714.tar.gz
/(?p{})/ changed to /(??{})/, per Larry's suggestion (from
Simon Cozens <simon@othersideofthe.earth.li>) p4raw-id: //depot/perl@5467
Diffstat (limited to 'lib/SelfLoader.pm')
-rw-r--r--lib/SelfLoader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SelfLoader.pm b/lib/SelfLoader.pm
index 2aa29303fd..ff441c72dd 100644
--- a/lib/SelfLoader.pm
+++ b/lib/SelfLoader.pm
@@ -11,7 +11,7 @@ my %Cache; # private cache for all SelfLoader's client packages
# allow checking for valid ': attrlist' attachments
my $nested;
-$nested = qr{ \( (?: (?> [^()]+ ) | (?p{ $nested }) )* \) }x;
+$nested = qr{ \( (?: (?> [^()]+ ) | (??{ $nested }) )* \) }x;
my $one_attr = qr{ (?> (?! \d) \w+ (?:$nested)? ) (?:\s*\:\s*|\s+(?!\:)) }x;
my $attr_list = qr{ \s* : \s* (?: $one_attr )* }x;