X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fforeign%2FMethod-Signatures%2Fsimple.plx;fp=t%2Fforeign%2FMethod-Signatures%2Fsimple.plx;h=241c436d4143301cd365d1e952eecf9de52b971a;hb=1a52f2db46f6d870454428a07bfae09e0359eeee;hp=0000000000000000000000000000000000000000;hpb=ff265988561375d3cf480004e29e3891094c0afb;p=p5sagit%2FFunction-Parameters.git diff --git a/t/foreign/Method-Signatures/simple.plx b/t/foreign/Method-Signatures/simple.plx new file mode 100644 index 0000000..241c436 --- /dev/null +++ b/t/foreign/Method-Signatures/simple.plx @@ -0,0 +1,12 @@ +package Foo; + +use strict; +use warnings; + +use Function::Parameters; + +method echo($msg) { + return $msg +} + +print Foo->echo(42);