Skip to content

Commit 2c6a964

Browse files
author
Chris White
committed
Updated Changes; minor cleanup
1 parent b684fd6 commit 2c6a964

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

Changes

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
Revision history for Text-PerlPP
2+
(Note: GH = GitHub issue; # = RT issue)
3+
4+
0.500.1 2018/05/26
5+
Changed code to OOP interface.
6+
Updated tests to run more cleanly and more quickly (GH 24; #125326).
7+
Version numbers are now in decimal rather than dotted, so this is
8+
actually version "0.500001".
29

310
0.4.0 2018/05/15
411
You can omit `?>` at EOF (#15).
5-
Error messages are reported closer to the source line number (#14).
12+
Error messages are reported closer to the source line number (GH 14).
613

714
0.3.2 2018/05/14
8-
Fixes to run on Perl 5.10.1 (#19).
9-
Added documentation (#20).
15+
Fixes to run on Perl 5.10.1 (GH 19).
16+
Added documentation (GH 20).
1017

1118
0.3.1 2018/05/11
1219
First CPAN version, released on an unsuspecting world.

lib/Text/PerlPP.pm

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ use warnings;
1313

1414
use Getopt::Long 2.5 qw(GetOptionsFromArray);
1515
use Pod::Usage;
16-
use Data::Dumper;
1716

1817
# === Constants ===========================================================
1918

@@ -131,9 +130,6 @@ sub StartOB {
131130
if ( scalar @{$self->{OutputBuffers}} == 0 ) {
132131
$| = 1; # flush contents of STDOUT
133132
open( $self->{RootSTDOUT}, ">&STDOUT" ) or die $!; # dup filehandle
134-
#$self->{RootSTDOUT} = $fh;
135-
#undef $fh;
136-
#say STDERR "stdout in startob ", Dumper($self->{RootSTDOUT});
137133
}
138134
unshift( @{$self->{OutputBuffers}}, [ $mode, "", $lineno ] );
139135
close( STDOUT ); # must be closed before redirecting it to a variable
@@ -777,12 +773,7 @@ sub _parse_command_line {
777773
# Map the option names from GetOptions back to the internal names we use,
778774
# e.g., $hrOptsOut->{EVAL} from $hrOptsOut->{e}.
779775
my %revmap = map { $CMDLINE_OPTS{$_}->[0] => $_ } keys %CMDLINE_OPTS;
780-
#say "revmap ", Dumper(\%revmap);
781-
#say "hrOptsOut ", Dumper($hrOptsOut);
782776
for my $optname (keys %$hrOptsOut) {
783-
#say "\nOptname $optname";
784-
#say "Value $hrOptsOut->{$optname}";
785-
#say "Revmap $revmap{$optname}";
786777
$hrOptsOut->{ $revmap{$optname} } = $hrOptsOut->{ $optname };
787778
}
788779

0 commit comments

Comments
 (0)