Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.95k stars 554 forks source link

IPC::Open3: fix dup example in synopsis #22615

Closed mauke closed 3 weeks ago

mauke commented 1 month ago

Unfortunately, this feature is based on parsing out filehandle names from strings, so it requires bareword filehandles to work.

Try to make this clearer in the documentation and mention that arguments starting with >& or <& are input parameters (i.e. existing open handles to use) as opposed to regular output parameters (which open3 connects to newly created pipes).

Fixes #22608.

TODO: fill description here