Something else you can do is:
sub Baz () { 'Foo::Bar::Baz' } $baz = Baz->new();
In reply to Re: $foo = "Foo::Bar"; $foo->new() works?
by ikegami
in thread $foo = "Foo::Bar"; $foo->new() works?
by mikfire
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |