use FOO ; my $foo = new FOO("some args") ; my @returned = $foo->methodx("other args") ;