I'm not sure where you get this "very uncommon in Perl" from.
While I have seen it - and used it - in methods of a class, I have very rarely seen it done in users of a class.
(I can't say about Python code as I have done very little Python coding.)
In reply to Re^2: Language design: direct attribute access and postponed mutators (Perl Vs Python)
by RonW
in thread Language design: direct attribute access and postponed mutators (Perl Vs Python)
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |