Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Dear Moose docs...

by tobyink (Canon)
on Feb 10, 2013 at 08:51 UTC ( [id://1018035]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Key-value pairs
    my $point1 = Point->new(x => 10, y => 20);
    
    # Hashref
    my $point2 = Point->new({ x => 10, y => 20 });
    
  2. or download this
    use v5.12;
    
    ...
    # Standard Moose BUILDARGS is fallback...
    print Point->new(x => 10, y => 20)->dump;
    print Point->new({ x => 10, y => 20 })->dump;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-25 07:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found