use Foo; my $f = Foo->new(%args); my $g = $f->frobnicate;