make "perl -c script/re.pl" not start up the REPL
[p5sagit/Devel-REPL.git] / lib / Devel / REPL / Plugin.pm
1 package Devel::REPL::Plugin;
2
3 use strict;
4 use warnings;
5 use Devel::REPL::Meta::Plugin;
6 use Moose::Role ();
7
8 sub import {
9   my $target = caller;
10   Devel::REPL::Meta::Plugin->initialize($target);
11   goto &Moose::Role::import;
12 }
13
14 1;