Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Dear Moose docs...

by tobyink (Abbot)
on Feb 10, 2013 at 08:51 UTC ( #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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018035]
Discipulus the pope is the last good politic here around..sigh
[Discipulus]: erix the right order of books is: The Three Musketeers, Twenty Years After, The Count of Moret; The Red Sphinx (not in the cycle but a must read!), The Vicomte de Bragelonne

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (10)
As of 2017-05-24 07:09 GMT
Find Nodes?
    Voting Booth?