From: Karen Etheridge Date: Mon, 9 Sep 2013 00:36:46 +0000 (-0700) Subject: add use strict; use warnings to modules, just to be sure X-Git-Tag: v1.003021~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1716b20061af51ca82cc543f618f19c1e20f2efa;p=p5sagit%2FDevel-REPL.git add use strict; use warnings to modules, just to be sure --- diff --git a/lib/Devel/REPL/Meta/Plugin.pm b/lib/Devel/REPL/Meta/Plugin.pm index cd544c7..03f19f1 100644 --- a/lib/Devel/REPL/Meta/Plugin.pm +++ b/lib/Devel/REPL/Meta/Plugin.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Meta::Plugin; use Moose; diff --git a/lib/Devel/REPL/Plugin/B/Concise.pm b/lib/Devel/REPL/Plugin/B/Concise.pm index 71b97be..a54e5b1 100644 --- a/lib/Devel/REPL/Plugin/B/Concise.pm +++ b/lib/Devel/REPL/Plugin/B/Concise.pm @@ -1,5 +1,7 @@ #!/usr/bin/perl +use strict; +use warnings; package Devel::REPL::Plugin::B::Concise; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/Colors.pm b/lib/Devel/REPL/Plugin/Colors.pm index 46b30bb..99d1306 100644 --- a/lib/Devel/REPL/Plugin/Colors.pm +++ b/lib/Devel/REPL/Plugin/Colors.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::Colors; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/Commands.pm b/lib/Devel/REPL/Plugin/Commands.pm index 2bb12d7..4f99734 100644 --- a/lib/Devel/REPL/Plugin/Commands.pm +++ b/lib/Devel/REPL/Plugin/Commands.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::Commands; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/Completion.pm b/lib/Devel/REPL/Plugin/Completion.pm index dcc1837..de8b5fc 100644 --- a/lib/Devel/REPL/Plugin/Completion.pm +++ b/lib/Devel/REPL/Plugin/Completion.pm @@ -1,4 +1,7 @@ +use strict; +use warnings; package Devel::REPL::Plugin::Completion; + use Devel::REPL::Plugin; use Scalar::Util 'weaken'; use PPI; diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/Globals.pm b/lib/Devel/REPL/Plugin/CompletionDriver/Globals.pm index 5dbed24..c2e1c74 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/Globals.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/Globals.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::CompletionDriver::Globals; use Devel::REPL::Plugin; use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/INC.pm b/lib/Devel/REPL/Plugin/CompletionDriver/INC.pm index 40f147a..a29ff8a 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/INC.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/INC.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::CompletionDriver::INC; use Devel::REPL::Plugin; use File::Next; diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm b/lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm index 5078a14..6e127b1 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::CompletionDriver::Keywords; use Devel::REPL::Plugin; use B::Keywords qw/@Functions @Barewords/; diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm b/lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm index 827efb9..cef75c8 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::CompletionDriver::LexEnv; use Devel::REPL::Plugin; use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/Methods.pm b/lib/Devel/REPL/Plugin/CompletionDriver/Methods.pm index 88afd5e..fa854bd 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/Methods.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/Methods.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::CompletionDriver::Methods; use Devel::REPL::Plugin; use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/Turtles.pm b/lib/Devel/REPL/Plugin/CompletionDriver/Turtles.pm index 1472e37..3f5feb1 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/Turtles.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/Turtles.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::CompletionDriver::Turtles; use Devel::REPL::Plugin; use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin/DDC.pm b/lib/Devel/REPL/Plugin/DDC.pm index e47fca4..26fdd13 100644 --- a/lib/Devel/REPL/Plugin/DDC.pm +++ b/lib/Devel/REPL/Plugin/DDC.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::DDC; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/DDS.pm b/lib/Devel/REPL/Plugin/DDS.pm index d32a5c3..6b4dde7 100644 --- a/lib/Devel/REPL/Plugin/DDS.pm +++ b/lib/Devel/REPL/Plugin/DDS.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::DDS; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/DumpHistory.pm b/lib/Devel/REPL/Plugin/DumpHistory.pm index 3983e77..a87d4c7 100644 --- a/lib/Devel/REPL/Plugin/DumpHistory.pm +++ b/lib/Devel/REPL/Plugin/DumpHistory.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::DumpHistory; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/FancyPrompt.pm b/lib/Devel/REPL/Plugin/FancyPrompt.pm index ce0225a..917eca2 100644 --- a/lib/Devel/REPL/Plugin/FancyPrompt.pm +++ b/lib/Devel/REPL/Plugin/FancyPrompt.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::FancyPrompt; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/FindVariable.pm b/lib/Devel/REPL/Plugin/FindVariable.pm index cf2fd77..1a2b14f 100644 --- a/lib/Devel/REPL/Plugin/FindVariable.pm +++ b/lib/Devel/REPL/Plugin/FindVariable.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::FindVariable; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/History.pm b/lib/Devel/REPL/Plugin/History.pm index 2696e19..9d4bc84 100644 --- a/lib/Devel/REPL/Plugin/History.pm +++ b/lib/Devel/REPL/Plugin/History.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::History; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/Interrupt.pm b/lib/Devel/REPL/Plugin/Interrupt.pm index 7d64611..1b2551e 100644 --- a/lib/Devel/REPL/Plugin/Interrupt.pm +++ b/lib/Devel/REPL/Plugin/Interrupt.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::Interrupt; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/LexEnv.pm b/lib/Devel/REPL/Plugin/LexEnv.pm index f487fa2..2bb1319 100644 --- a/lib/Devel/REPL/Plugin/LexEnv.pm +++ b/lib/Devel/REPL/Plugin/LexEnv.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::LexEnv; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/MultiLine/PPI.pm b/lib/Devel/REPL/Plugin/MultiLine/PPI.pm index ca85806..f27171c 100644 --- a/lib/Devel/REPL/Plugin/MultiLine/PPI.pm +++ b/lib/Devel/REPL/Plugin/MultiLine/PPI.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::MultiLine::PPI; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/Nopaste.pm b/lib/Devel/REPL/Plugin/Nopaste.pm index 485d08c..59e5e4a 100644 --- a/lib/Devel/REPL/Plugin/Nopaste.pm +++ b/lib/Devel/REPL/Plugin/Nopaste.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::Nopaste; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/OutputCache.pm b/lib/Devel/REPL/Plugin/OutputCache.pm index 404c0b6..79bf4e6 100644 --- a/lib/Devel/REPL/Plugin/OutputCache.pm +++ b/lib/Devel/REPL/Plugin/OutputCache.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::OutputCache; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/PPI.pm b/lib/Devel/REPL/Plugin/PPI.pm index a53c767..16e8be1 100644 --- a/lib/Devel/REPL/Plugin/PPI.pm +++ b/lib/Devel/REPL/Plugin/PPI.pm @@ -1,5 +1,7 @@ #!/usr/bin/perl +use strict; +use warnings; package Devel::REPL::Plugin::PPI; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/Packages.pm b/lib/Devel/REPL/Plugin/Packages.pm index 4a56d87..77fdebd 100644 --- a/lib/Devel/REPL/Plugin/Packages.pm +++ b/lib/Devel/REPL/Plugin/Packages.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::Packages; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/Peek.pm b/lib/Devel/REPL/Plugin/Peek.pm index c8a871f..6c55d1f 100644 --- a/lib/Devel/REPL/Plugin/Peek.pm +++ b/lib/Devel/REPL/Plugin/Peek.pm @@ -1,5 +1,7 @@ #!/usr/bin/perl +use strict; +use warnings; package Devel::REPL::Plugin::Peek; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/ReadLineHistory.pm b/lib/Devel/REPL/Plugin/ReadLineHistory.pm index 75e3b3b..8199859 100644 --- a/lib/Devel/REPL/Plugin/ReadLineHistory.pm +++ b/lib/Devel/REPL/Plugin/ReadLineHistory.pm @@ -3,6 +3,8 @@ # # epitaph, 22nd April 2007 +use strict; +use warnings; package Devel::REPL::Plugin::ReadLineHistory; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/Refresh.pm b/lib/Devel/REPL/Plugin/Refresh.pm index f89f5d7..f3a10bd 100644 --- a/lib/Devel/REPL/Plugin/Refresh.pm +++ b/lib/Devel/REPL/Plugin/Refresh.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::Refresh; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/ShowClass.pm b/lib/Devel/REPL/Plugin/ShowClass.pm index 9f79853..7d9a3af 100644 --- a/lib/Devel/REPL/Plugin/ShowClass.pm +++ b/lib/Devel/REPL/Plugin/ShowClass.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::ShowClass; use Devel::REPL::Plugin; use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin/Timing.pm b/lib/Devel/REPL/Plugin/Timing.pm index c9248b7..7cae485 100644 --- a/lib/Devel/REPL/Plugin/Timing.pm +++ b/lib/Devel/REPL/Plugin/Timing.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::Timing; use Devel::REPL::Plugin; diff --git a/lib/Devel/REPL/Plugin/Turtles.pm b/lib/Devel/REPL/Plugin/Turtles.pm index 5f323fe..b3b8abb 100644 --- a/lib/Devel/REPL/Plugin/Turtles.pm +++ b/lib/Devel/REPL/Plugin/Turtles.pm @@ -1,3 +1,5 @@ +use strict; +use warnings; package Devel::REPL::Plugin::Turtles; use Devel::REPL::Plugin;