in reply to Re^2: create an object where type is a variable
in thread create an object where type is a variable
use test::object; my $x='object'; my $y=test::$x->new();
use test::object; my $x='object'; my $y=test::.$x->new();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: create an object where type is a variable
by merlyn (Sage) on Sep 11, 2007 at 16:03 UTC | |
by jdporter (Paladin) on Sep 11, 2007 at 16:16 UTC |