@@ -5,15 +5,14 @@ package Text::PerlPP;
5
5
6
6
# Semantic versioning, packed per Perl rules. Must always be at least one
7
7
# digit left of the decimal, and six digits right of the decimal.
8
- our $VERSION = ' 0.500001 ' ;
8
+ our $VERSION = ' 0.500002 ' ;
9
9
10
10
use 5.010001;
11
11
use strict;
12
12
use warnings;
13
13
14
14
use Getopt::Long 2.5 qw( GetOptionsFromArray) ;
15
15
use Pod::Usage;
16
- use Data::Dumper;
17
16
18
17
# === Constants ===========================================================
19
18
@@ -131,9 +130,6 @@ sub StartOB {
131
130
if ( scalar @{$self -> {OutputBuffers }} == 0 ) {
132
131
$| = 1; # flush contents of STDOUT
133
132
open ( $self -> {RootSTDOUT }, " >&STDOUT" ) or die $! ; # dup filehandle
134
- # $self->{RootSTDOUT} = $fh;
135
- # undef $fh;
136
- # say STDERR "stdout in startob ", Dumper($self->{RootSTDOUT});
137
133
}
138
134
unshift ( @{$self -> {OutputBuffers }}, [ $mode , " " , $lineno ] );
139
135
close ( STDOUT ); # must be closed before redirecting it to a variable
@@ -777,12 +773,7 @@ sub _parse_command_line {
777
773
# Map the option names from GetOptions back to the internal names we use,
778
774
# e.g., $hrOptsOut->{EVAL} from $hrOptsOut->{e}.
779
775
my %revmap = map { $CMDLINE_OPTS {$_ }-> [0] => $_ } keys %CMDLINE_OPTS ;
780
- # say "revmap ", Dumper(\%revmap);
781
- # say "hrOptsOut ", Dumper($hrOptsOut);
782
776
for my $optname (keys %$hrOptsOut ) {
783
- # say "\nOptname $optname";
784
- # say "Value $hrOptsOut->{$optname}";
785
- # say "Revmap $revmap{$optname}";
786
777
$hrOptsOut -> { $revmap {$optname } } = $hrOptsOut -> { $optname };
787
778
}
788
779
0 commit comments