From: Richard Soderberg Date: Mon, 28 May 2001 03:56:36 +0000 (-0700) Subject: RE: [ID 20010528.002] dprofpp: "-R" does not work X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cf4a30caa768a87825eb803c6f442667207dad43;p=p5sagit%2Fp5-mst-13.2.git RE: [ID 20010528.002] dprofpp: "-R" does not work Message-ID: p4raw-id: //depot/perl@10242 --- diff --git a/utils/dprofpp.PL b/utils/dprofpp.PL index b1379bf..8f6afe4 100644 --- a/utils/dprofpp.PL +++ b/utils/dprofpp.PL @@ -693,7 +693,7 @@ sub parsestack { chop; if (/^&/) { ($dir, $id, $pack, $name) = split; - if ($opt_R and ($name =~ /::(__ANON_|END)$/)) { + if ($opt_R and ($name =~ /(?:::)?(__ANON__|END)$/)) { $name .= "($id)"; } $cv_hash{$id} = "$pack\::$name"; @@ -830,7 +830,7 @@ sub exitstamp { die "Garbled profile, missing an enter time stamp"; } if( $x->[0] ne $name and $opt_G and ($name =~ /$opt_G/)){ - if ($x->[0] =~ /::AUTOLOAD$/) { + if ($x->[0] =~ /(?:::)?AUTOLOAD$/) { if ($opt_A) { $name = $x->[0]; }