use test::object; my $x='test::object'; my $y=($x)->new(); [download]
In reply to create an object where type is a variable by true_atlantis