my $o = Foo->new(); #create new object $o->Available_Param_List(["one", "two"]); #methods that should be available to $o $o->one('this will work ok'); $o->nope('this should print a warn on saying that nope is not available for $o');