From: scott@perlcode.org Date: Tue, 13 Sep 2005 12:11:46 +0000 (-0700) Subject: [perl #37163] dprofpp array subscript error X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3b3034892f7cb176fcb62aa4f67e521945855c1b;p=p5sagit%2Fp5-mst-13.2.git [perl #37163] dprofpp array subscript error From: scott@perlcode.org (via RT) Message-ID: p4raw-id: //depot/perl@25413 --- diff --git a/utils/dprofpp.PL b/utils/dprofpp.PL index 6270940..f9c487e 100644 --- a/utils/dprofpp.PL +++ b/utils/dprofpp.PL @@ -735,7 +735,7 @@ sub parsestack { my $ot = $t; if ( $dir eq '/' ) { - $syst = $stack[-1][0]; + $syst = $stack[-1][0] if scalar @stack; $usert = '&'; $dir = '-'; #warn("Inserted exit for $stack[-1][0].\n")