Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Making a new object of an undecided class with Moose

by Anonymous Monk
on Oct 22, 2011 at 07:18 UTC ( #933040=note: print w/replies, xml ) Need Help??


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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://933040]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2022-06-25 23:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (83 votes). Check out past polls.

    Notices?