The order of arguments to bless in the OP is correct.
BTW: My favorite "off-label" use of the => (fat comma) operator (see perlop) is in a statement like
return bless $object_ref => $class;
which can be read "return the result of blessing object reference into class".
In reply to Re^2: Perl inheritance
by AnomalousMonk
in thread [Resolved]Perl inheritance
by ivanovic3001
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |