diff options
author | Father Chrysostomos <sprout@cpan.org> | 2010-11-06 00:06:51 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2010-11-06 00:06:51 -0700 |
commit | b031d0e637375b49adae9215b2d1bc2bdfc75232 (patch) | |
tree | d00bd59318aecb154839bd5ad2582fab40953d14 /dist/B-Deparse | |
parent | cb8157e3a5ec3b59831734fb1297034748146613 (diff) | |
download | perl-b031d0e637375b49adae9215b2d1bc2bdfc75232.tar.gz |
Eliminate a few more $op->private calls in Deparse
Diffstat (limited to 'dist/B-Deparse')
-rw-r--r-- | dist/B-Deparse/Deparse.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dist/B-Deparse/Deparse.pm b/dist/B-Deparse/Deparse.pm index ba5fd01fda..4241505b16 100644 --- a/dist/B-Deparse/Deparse.pm +++ b/dist/B-Deparse/Deparse.pm @@ -4088,16 +4088,16 @@ sub pp_trans { my($op, $cx) = @_; my($from, $to); my $class = class($op); + my $priv_flags = $op->private; if ($class eq "PVOP") { - ($from, $to) = tr_decode_byte($op->pv, $op->private); + ($from, $to) = tr_decode_byte($op->pv, $priv_flags); } elsif ($class eq "PADOP") { ($from, $to) - = tr_decode_utf8($self->padval($op->padix)->RV, $op->private); + = tr_decode_utf8($self->padval($op->padix)->RV, $priv_flags); } else { # class($op) eq "SVOP" - ($from, $to) = tr_decode_utf8($op->sv->RV, $op->private); + ($from, $to) = tr_decode_utf8($op->sv->RV, $priv_flags); } my $flags = ""; - my $priv_flags = $op->private; $flags .= "c" if $priv_flags & OPpTRANS_COMPLEMENT; $flags .= "d" if $priv_flags & OPpTRANS_DELETE; $to = "" if $from eq $to and $flags eq ""; |