Michael G. Schwern [Sun, 16 Dec 2001 16:12:55 +0000 (11:12 -0500)]
Message-ID: <
20011216211255.GV8900@blackrider>
p4raw-id: //depot/perl@13730
} else {
$stash = $stash . "::";
}
- if ($name =~ /^\^../) {
- $name = "{$name}"; # ${^WARNING_BITS} etc
+ if ($name =~ /^(\^..|{)/) {
+ $name = "{$name}"; # ${^WARNING_BITS}, etc and ${
}
return $stash . $name;
}