increment $VERSION after 1.003029 release
[p5sagit/Devel-REPL.git] / lib / Devel / REPL / Plugin / MultiLine / PPI.pm
index 1f23cfc..109e54a 100644 (file)
@@ -1,16 +1,23 @@
+use strict;
+use warnings;
 package Devel::REPL::Plugin::MultiLine::PPI;
+# ABSTRACT: Read lines until all blocks are closed
+
+our $VERSION = '1.003030';
 
 use Devel::REPL::Plugin;
 use PPI;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
 
 has 'continuation_prompt' => (
-  is => 'rw', required => 1, lazy => 1,
+  is => 'rw',
+  lazy => 1,
   default => sub { '> ' }
 );
 
 has 'line_depth' => (
-  is => 'rw', required => 1, lazy => 1,
+  is => 'rw',
+  lazy => 1,
   default => sub { 0 }
 );
 
@@ -80,15 +87,10 @@ sub line_needs_continuation
 
 __END__
 
-=head1 NAME
-
-Devel::REPL::Plugin::MultiLine::PPI - read lines until all blocks are closed
+=pod
 
 =head1 SYNOPSIS
 
-    #!/usr/bin/perl 
-
-    use lib './lib';
     use Devel::REPL;
 
     my $repl = Devel::REPL->new;