Help for this page
my $temp_obj = "Foo::$type"->new(); ... no strict 'refs'; # because this isn't very strict my $temp_obj = &{"Foo::${type}::new"}("Foo::$type");