Debian Codegraph @

t/moose/with_variable.t

raw
1 use strict;
2 use warnings;
3 use FindBin;
4 use lib "$FindBin::Bin/../../";
5 use Test::More;
6 use t::Util;
7
8 test('with variable', <<'END', {Mouse => 0});
9 use Mouse;
10 sub load_plugin {
11 my ($self, $plugin) = @_;
12
13 my $plug = 'TheEye::Plugin::'.$plugin;
14 print STDERR "Loading $plugin Plugin\n" if $self->is_debug;
15 with($plug);
16 return;
17 }
18 END
19
20 done_testing;