summarylogtreecommitdiffstats
path: root/p2.patch
blob: 295d1e403ebe700cee068bfeb3f16ed099688a54 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- StrictWarnings.pm	2013-11-08 20:43:41.000000000 -0700
+++ StrictWarnings.pm	2015-01-01 11:03:03.899039317 -0700
@@ -68,7 +68,7 @@
 		my $first = $doc->find_first(
 			sub {
 				return $_[1]->isa('PPI::Statement')
-					or $_[1]->isa('PPI::Structure');
+					|| $_[1]->isa('PPI::Structure');
 			}
 		);
 		$replace = "use strict;\nuse warnings;\n";