1#!/usr/bin/perl -w
2
3# It should be possible to import into another package.
4
5package Foo;
6
7use Test::More 'no_plan';
8
9{ package Bar;
10  use Method::Signatures { into => 'Foo' };
11}
12
13is( Foo->foo(42), 42 );
14
15method foo ($arg) {
16    return $arg;
17}
18