This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlipc: modernize open and handle usage
authorDan Book <grinnz@grinnz.com>
Wed, 18 Dec 2019 21:45:06 +0000 (16:45 -0500)
committerKarl Williamson <khw@cpan.org>
Sat, 21 Dec 2019 19:31:40 +0000 (12:31 -0700)
commit08ab6dc865ab79e6e7840494df7691dd811d0c1e
tree4261e26f73171950df5a02a39e26cd14c90de4cf
parentb661dc901ae20b5307829a748d58fffd161fe11e
perlipc: modernize open and handle usage

Replace bareword filehandles with lexicals, use three-arg open wherever
possible, explain that two-arg open may still be necessary for piped opens on
non-Unixy platforms, separate the discussion of three-arg pipe open from list
open, pass the now-lexical filehandles into the spawn function in the TCP
examples, and remove the obsolete explanation of lexical filehandles.
pod/perlipc.pod