import some (modified) MS tests
[p5sagit/Function-Parameters.git] / t / foreign / Method-Signatures / paren_on_own_line.t
CommitLineData
633048d5 1#!perl
2
3package Foo;
4
5use strict;
6use warnings FATAL => 'all';
7
8use Function::Parameters qw(:strict);
9use Test::More 'no_plan';
10
11# The problem goes away inside an eval STRING.
12method foo(
13 $arg
14)
15{
16 return $arg;
17}
18
19is $@, '';
20is( Foo->foo(42), 42 );