Perl-Apollo / Corinna

Corinna - Bring Modern OO to the Core of Perl
Artistic License 2.0
156 stars 19 forks source link

Update classes.md, Spelling & Grammar Fixes #94

Closed wbraswell closed 1 year ago

wbraswell commented 1 year ago

"methods who take no arguments" => "methods which take no arguments" "Remember that" => "Remember that." [ IS THIS CORRECT? ] "and you could instantiate with" => "and you could instantiate it with" "In the above, that the" => "In the above, the" "duplicate keys to the constructor are not allowed" => "providing duplicate keys to the constructor is not allowed" "If you wish to provide an an alternate" => "If you wish to provide an alternate" "':common ' means" => "':common' means" "all methods have an immutable $class variable injected." => "all methods have an immutable $class variable injected" "must be passed to customer (:param)" => "must be passed to constructor (:param)" "(common, with hand-rolled reader method)" => "(:common, with hand-rolled reader method)" "but before returned to consumer (BUILD)" => "but before returning to consumer (BUILD)" "C3 mro" => "C3 Method Resolution Order" "Corinna allows roles to be consumed via does." => "Corinna allows roles to be consumed via :does." "moddifier" => "modifier" "only the :common attribute allowed on non-scalars" => "only the :common attribute is allowed on non-scalars"

NOT ACTUALLY CHANGED... Why are you using fat commas instead of normal commas in the following two lines? { push @numbers => $num } { unshift @numbers => $num }

Ovid commented 1 year ago

Thank you for that!

wbraswell commented 1 year ago

Yes sir, you are welcome. Can you please tell me, why are you using fat commas instead of normal commas in the following two lines?

{ push @numbers => $num }
{ unshift @numbers => $num }