my $y=test::.$x->new();No, that's *definitely* not what you want. More like:
Oh, and don't use lowercase class names. Uppercase please.my $y = "test::$x"->new;
In reply to Re^4: create an object where type is a variable
by merlyn
in thread create an object where type is a variable
by true_atlantis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |