Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: d91e6867052227470c5138fecce71e3a241f4927
      
https://github.com/Perl/perl5/commit/d91e6867052227470c5138fecce71e3a241f4927
  Author: Lukas Mai <[email protected]>
  Date:   2024-09-08 (Sun, 08 Sep 2024)

  Changed paths:
    M pod/perlvar.pod

  Log Message:
  -----------
  perlvar: remove indirect object syntax

- remove the `method HANDLE EXPR` example
- mention that an explicit `use IO::Handle` has not been required since
  perl v5.14 (that was 13 years ago)
- remove the advice to prefer built-in variables over IO::Handle methods
  because:
  - `STDOUT->autoflush(1);` is about 200x more readable than `$|++;` or
    similar nonsense
  - loading IO::Handle isn't actually that expensive (and if it is, we
    should figure out how to speed up `$fh->autoflush` in core, not
    discourage programmers from using it)
  - the performance advice is from 1999 and hasn't been updated since
    (commits 14218588221b, 19799a22062e)
  - as far as I can tell, this advice is mostly Tom Christiansen's
    personal opinion and not the general consensus of the Perl community
- move a comma from one paragraph to the next (technically unrelated,
  but it's in the general vicinity of the preceding changes)



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to