in reply to Re^3: create an object where type is a variable
in thread create an object where type is a variable

my $y=test::.$x->new();
No, that's *definitely* not what you want. More like:
my $y = "test::$x"->new;
Oh, and don't use lowercase class names. Uppercase please.

Replies are listed 'Best First'.
Re^5: create an object where type is a variable
by jdporter (Paladin) on Sep 11, 2007 at 16:16 UTC