in reply to $foo = "Foo::Bar"; $foo->new() works?

Something else you can do is:

sub Baz () { 'Foo::Bar::Baz' } $baz = Baz->new();