http://qs321.pair.com?node_id=11106261


in reply to Re: Language design: direct attribute access and postponed mutators (Perl Vs Python)
in thread Language design: direct attribute access and postponed mutators (Perl Vs Python)

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.)

  • Comment on Re^2: Language design: direct attribute access and postponed mutators (Perl Vs Python)