1package Foo; 2 3use strict; 4use warnings; 5 6use Method::Signatures; 7 8method echo($msg) { 9 return $msg 10} 11 12print Foo->echo(42); 13