Skip to content

Commit fc4ca9b

Browse files
committed
updates for dev release 1.237_001
1 parent 902d409 commit fc4ca9b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+110
-99
lines changed

Changes

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
Revision history for Perl extension PPI
22

3+
1.237_001 Wed 15 Nov 2017
4+
Summary:
5+
- support postfix dereference
6+
- remove dependencies on vars, base and List::MoreUtils
7+
- reduce globals and cross-package variables
8+
- make xt/api.t skip/run properly
9+
10+
Details:
11+
- convert many cross-package var accesses to var imports
12+
- convert several unnecessary globals to local variables
13+
314
1.236 Thu 22 June 2017
415
Summary:
516
- prevent Node->child from proceeding without a valid argument

lib/PPI.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use 5.006;
66
use strict;
77

88
# Set the version for CPAN
9-
our $VERSION = '1.236';
9+
our $VERSION = '1.237_001';
1010

1111
our ( $XS_COMPATIBLE, @XS_EXCLUDE ) = ( '0.845' );
1212

lib/PPI/Cache.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ use Digest::MD5 ();
5454
use Params::Util qw{_INSTANCE _SCALAR};
5555
use PPI::Document ();
5656

57-
our $VERSION = '1.236';
57+
our $VERSION = '1.237_001';
5858

5959
use constant VMS => !! ( $^O eq 'VMS' );
6060

lib/PPI/Document.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ use PPI::Node ();
7575
use overload 'bool' => \&PPI::Util::TRUE;
7676
use overload '""' => 'content';
7777

78-
our $VERSION = '1.236';
78+
our $VERSION = '1.237_001';
7979

8080
our ( $errstr, @ISA ) = ( "", "PPI::Node" );
8181

lib/PPI/Document/File.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use Carp ();
2222
use Params::Util qw{_STRING _INSTANCE};
2323
use PPI::Document ();
2424

25-
our $VERSION = '1.236';
25+
our $VERSION = '1.237_001';
2626

2727
our @ISA = 'PPI::Document';
2828

lib/PPI/Document/Fragment.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ within it, and it does not represent a scope.
2121
use strict;
2222
use PPI::Document ();
2323

24-
our $VERSION = '1.236';
24+
our $VERSION = '1.237_001';
2525

2626
our @ISA = 'PPI::Document';
2727

lib/PPI/Document/Normalized.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ use Scalar::Util qw{refaddr reftype blessed};
4545
use Params::Util qw{_INSTANCE _ARRAY};
4646
use PPI::Util ();
4747

48-
our $VERSION = '1.236';
48+
our $VERSION = '1.237_001';
4949

5050
use overload 'bool' => \&PPI::Util::TRUE;
5151
use overload '==' => 'equal';

lib/PPI/Dumper.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ generate the dump content itself.
3535
use strict;
3636
use Params::Util qw{_INSTANCE};
3737

38-
our $VERSION = '1.236';
38+
our $VERSION = '1.237_001';
3939

4040

4141

lib/PPI/Element.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ use PPI::Util ();
3030
use PPI::Node ();
3131
use PPI::Singletons '%_PARENT';
3232

33-
our $VERSION = '1.236';
33+
our $VERSION = '1.237_001';
3434

3535
our $errstr = "";
3636

lib/PPI/Exception.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ of this class.
2424
use strict;
2525
use Params::Util qw{_INSTANCE};
2626

27-
our $VERSION = '1.236';
27+
our $VERSION = '1.237_001';
2828

2929

3030
=head1 METHODS

lib/PPI/Exception/ParserRejection.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package PPI::Exception::ParserRejection;
33
use strict;
44
use PPI::Exception ();
55

6-
our $VERSION = '1.236';
6+
our $VERSION = '1.237_001';
77

88
our @ISA = 'PPI::Exception';
99

lib/PPI/Find.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ caught by the Find object and returned as an error.
7474
use strict;
7575
use Params::Util qw{_INSTANCE};
7676

77-
our $VERSION = '1.236';
77+
our $VERSION = '1.237_001';
7878

7979

8080

lib/PPI/Lexer.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ use PPI ();
6060
use PPI::Exception ();
6161
use PPI::Singletons '%_PARENT';
6262

63-
our $VERSION = '1.236';
63+
our $VERSION = '1.237_001';
6464

6565
our $errstr = "";
6666

lib/PPI/Node.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ use Params::Util qw{_INSTANCE _CLASS _CODELIKE _NUMBER};
5656
use PPI::Element ();
5757
use PPI::Singletons '%_PARENT';
5858

59-
our $VERSION = '1.236';
59+
our $VERSION = '1.237_001';
6060

6161
our @ISA = "PPI::Element";
6262

lib/PPI/Normal.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ use PPI::Document::Normalized ();
4242
use PPI::Normal::Standard ();
4343
use PPI::Singletons '%LAYER';
4444

45-
our $VERSION = '1.236';
45+
our $VERSION = '1.237_001';
4646

4747
# With the registration mechanism in place, load in the main set of
4848
# normalization methods to initialize the store.

lib/PPI/Normal/Standard.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ B<Move along, nothing to see here>.
1818

1919
use strict;
2020

21-
our $VERSION = '1.236';
21+
our $VERSION = '1.237_001';
2222

2323

2424

lib/PPI/Singletons.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package PPI::Singletons;
55
use strict;
66
use Exporter ();
77

8-
our $VERSION = '1.236';
8+
our $VERSION = '1.237_001';
99

1010
our @ISA = 'Exporter';
1111
our @EXPORT_OK = qw{ %_PARENT %OPERATOR %MAGIC %LAYER $CURLY_SYMBOL %QUOTELIKE %KEYWORDS };

lib/PPI/Statement.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ use PPI::Node ();
153153
use PPI::Exception ();
154154
use PPI::Singletons '%_PARENT';
155155

156-
our $VERSION = '1.236';
156+
our $VERSION = '1.237_001';
157157

158158
our @ISA = "PPI::Node";
159159

lib/PPI/Statement/Break.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ to, or the structure to break out of.
4040
use strict;
4141
use PPI::Statement ();
4242

43-
our $VERSION = '1.236';
43+
our $VERSION = '1.237_001';
4444

4545
our @ISA = "PPI::Statement";
4646

lib/PPI/Statement/Compound.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ standard L<PPI::Statement>, L<PPI::Node> and L<PPI::Element> methods.
5353
use strict;
5454
use PPI::Statement ();
5555

56-
our $VERSION = '1.236';
56+
our $VERSION = '1.237_001';
5757

5858
our @ISA = "PPI::Statement";
5959

lib/PPI/Statement/Data.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Perl code itself.
4343
use strict;
4444
use PPI::Statement ();
4545

46-
our $VERSION = '1.236';
46+
our $VERSION = '1.237_001';
4747

4848
our @ISA = "PPI::Statement";
4949

lib/PPI/Statement/End.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ provided by L<PPI::Statement>, L<PPI::Node> and L<PPI::Element>.
4747
use strict;
4848
use PPI::Statement ();
4949

50-
our $VERSION = '1.236';
50+
our $VERSION = '1.237_001';
5151

5252
our @ISA = "PPI::Statement";
5353

lib/PPI/Statement/Expression.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ provided by L<PPI::Statement>, L<PPI::Node> and L<PPI::Element>.
3838
use strict;
3939
use PPI::Statement ();
4040

41-
our $VERSION = '1.236';
41+
our $VERSION = '1.237_001';
4242

4343
our @ISA = "PPI::Statement";
4444

lib/PPI/Statement/Given.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods.
3434
use strict;
3535
use PPI::Statement ();
3636

37-
our $VERSION = '1.236';
37+
our $VERSION = '1.237_001';
3838

3939
our @ISA = "PPI::Statement";
4040

lib/PPI/Statement/Include.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ use strict;
4848
use PPI::Statement ();
4949
use PPI::Statement::Include::Perl6 ();
5050

51-
our $VERSION = '1.236';
51+
our $VERSION = '1.237_001';
5252

5353
our @ISA = "PPI::Statement";
5454

lib/PPI/Statement/Include/Perl6.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ string and will not be parsed by PPI.
4141
use strict;
4242
use PPI::Statement::Include ();
4343

44-
our $VERSION = '1.236';
44+
our $VERSION = '1.237_001';
4545

4646
our @ISA = "PPI::Statement::Include";
4747

lib/PPI/Statement/Null.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ provided by L<PPI::Statement>, L<PPI::Node> and L<PPI::Element>.
4343
use strict;
4444
use PPI::Statement ();
4545

46-
our $VERSION = '1.236';
46+
our $VERSION = '1.237_001';
4747

4848
our @ISA = "PPI::Statement";
4949

lib/PPI/Statement/Package.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ L<PPI::Statement>, L<PPI::Node> and L<PPI::Element> methods.
4141
use strict;
4242
use PPI::Statement ();
4343

44-
our $VERSION = '1.236';
44+
our $VERSION = '1.237_001';
4545

4646
our @ISA = "PPI::Statement";
4747

lib/PPI/Statement/Scheduled.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ may have 'sub' in front of them.
5656
use strict;
5757
use PPI::Statement::Sub ();
5858

59-
our $VERSION = '1.236';
59+
our $VERSION = '1.237_001';
6060

6161
our @ISA = "PPI::Statement::Sub";
6262

lib/PPI/Statement/Sub.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ use List::Util ();
3535
use Params::Util qw{_INSTANCE};
3636
use PPI::Statement ();
3737

38-
our $VERSION = '1.236';
38+
our $VERSION = '1.237_001';
3939

4040
our @ISA = "PPI::Statement";
4141

lib/PPI/Statement/Unknown.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ L<PPI::Element>.
3535
use strict;
3636
use PPI::Statement ();
3737

38-
our $VERSION = '1.236';
38+
our $VERSION = '1.237_001';
3939

4040
our @ISA = "PPI::Statement";
4141

lib/PPI/Statement/UnmatchedBrace.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ L<PPI::Element>.
4747
use strict;
4848
use PPI::Statement ();
4949

50-
our $VERSION = '1.236';
50+
our $VERSION = '1.237_001';
5151

5252
our @ISA = "PPI::Statement";
5353

lib/PPI/Statement/Variable.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ use strict;
4242
use Params::Util qw{_INSTANCE};
4343
use PPI::Statement::Expression ();
4444

45-
our $VERSION = '1.236';
45+
our $VERSION = '1.237_001';
4646

4747
our @ISA = "PPI::Statement::Expression";
4848

lib/PPI/Statement/When.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods.
4242
use strict;
4343
use PPI::Statement ();
4444

45-
our $VERSION = '1.236';
45+
our $VERSION = '1.237_001';
4646

4747
our @ISA = "PPI::Statement";
4848

lib/PPI/Structure.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ use PPI::Node ();
9595
use PPI::Exception ();
9696
use PPI::Singletons '%_PARENT';
9797

98-
our $VERSION = '1.236';
98+
our $VERSION = '1.237_001';
9999

100100
our @ISA = "PPI::Node";
101101

lib/PPI/Structure/Block.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods.
4343
use strict;
4444
use PPI::Structure ();
4545

46-
our $VERSION = '1.236';
46+
our $VERSION = '1.237_001';
4747

4848
our @ISA = "PPI::Structure";
4949

lib/PPI/Structure/Condition.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ the standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods.
3838
use strict;
3939
use PPI::Structure ();
4040

41-
our $VERSION = '1.236';
41+
our $VERSION = '1.237_001';
4242

4343
our @ISA = "PPI::Structure";
4444

lib/PPI/Structure/Constructor.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ the standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods.
3333
use strict;
3434
use PPI::Structure ();
3535

36-
our $VERSION = '1.236';
36+
our $VERSION = '1.237_001';
3737

3838
our @ISA = "PPI::Structure";
3939

lib/PPI/Structure/For.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods.
3434
use strict;
3535
use PPI::Structure ();
3636

37-
our $VERSION = '1.236';
37+
our $VERSION = '1.237_001';
3838

3939
our @ISA = "PPI::Structure";
4040

lib/PPI/Structure/Given.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods.
3434
use strict;
3535
use PPI::Structure ();
3636

37-
our $VERSION = '1.236';
37+
our $VERSION = '1.237_001';
3838

3939
our @ISA = "PPI::Structure";
4040

lib/PPI/Structure/List.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ use strict;
3737
use Carp ();
3838
use PPI::Structure ();
3939

40-
our $VERSION = '1.236';
40+
our $VERSION = '1.237_001';
4141

4242
our @ISA = "PPI::Structure";
4343

lib/PPI/Structure/Subscript.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods.
3939
use strict;
4040
use PPI::Structure ();
4141

42-
our $VERSION = '1.236';
42+
our $VERSION = '1.237_001';
4343

4444
our @ISA = "PPI::Structure";
4545

lib/PPI/Structure/Unknown.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ standard L<PPI::Structure>, L<PPI::Node> and L<PPI::Element> methods.
4040
use strict;
4141
use PPI::Structure ();
4242

43-
our $VERSION = '1.236';
43+
our $VERSION = '1.237_001';
4444

4545
our @ISA = "PPI::Structure";
4646

0 commit comments

Comments
 (0)