From: Karen Etheridge Date: Thu, 5 Sep 2013 18:00:26 +0000 (-0700) Subject: use vars -> our X-Git-Tag: v1.003021~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=28e93f31852a563bc36e1fd58c28eb46beeec64d;p=p5sagit%2FDevel-REPL.git use vars -> our --- diff --git a/lib/Devel/REPL/Plugin/Commands.pm b/lib/Devel/REPL/Plugin/Commands.pm index 6f03b62..2bb12d7 100644 --- a/lib/Devel/REPL/Plugin/Commands.pm +++ b/lib/Devel/REPL/Plugin/Commands.pm @@ -4,7 +4,7 @@ use Devel::REPL::Plugin; use Scalar::Util qw(weaken); use namespace::autoclean; -use vars qw($COMMAND_INSTALLER); +our $COMMAND_INSTALLER; has 'command_set' => ( is => 'ro', diff --git a/lib/Devel/REPL/Plugin/Packages.pm b/lib/Devel/REPL/Plugin/Packages.pm index 616d320..4a56d87 100644 --- a/lib/Devel/REPL/Plugin/Packages.pm +++ b/lib/Devel/REPL/Plugin/Packages.pm @@ -3,7 +3,7 @@ use Devel::REPL::Plugin; use namespace::autoclean; -use vars qw($PKG_SAVE); +our $PKG_SAVE; has 'current_package' => ( isa => 'Str', diff --git a/lib/Devel/REPL/Script.pm b/lib/Devel/REPL/Script.pm index 3e4dd4b..fe01d53 100644 --- a/lib/Devel/REPL/Script.pm +++ b/lib/Devel/REPL/Script.pm @@ -5,9 +5,10 @@ use Devel::REPL; use File::HomeDir; use File::Spec; use Module::Runtime 'use_module'; -use vars qw($CURRENT_SCRIPT); use namespace::autoclean; +our $CURRENT_SCRIPT; + with 'MooseX::Getopt'; has 'rcfile' => (