in reply to Making a new object of an undecided class with Moose

Use  my $foo = 'Any::Thing::You::Want'; $foo->new( 1,2,3 );

See Modern Perl: the free book , perlootut.pod

Replies are listed 'Best First'.
Re^2: Making a new object of an undecided class with Moose
by anneli (Pilgrim) on Oct 22, 2011 at 07:20 UTC

    Thank you! I literally (no, literally) just discovered it was this easy!