This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Opening a file and dir using the same symbol will be fatal in 5.28.
authorAbigail <abigail@abigail.be>
Thu, 17 Nov 2016 18:34:37 +0000 (19:34 +0100)
committerAbigail <abigail@abigail.be>
Mon, 16 Jan 2017 18:18:12 +0000 (19:18 +0100)
commit122d6c09702a0437a06efd713ba57d17175289bb
tree7e411aa62aa9f4677457e143937a13c4b3abf6a6
parentcb4e545c78f80e83e0fa1b400cdbc87d14149adf
Opening a file and dir using the same symbol will be fatal in 5.28.

Perl 5.10 deprecated using the same symbol to open both a filehandle
and a dirhandle, as this can lead to confusing code.

In Pelr 5.28, this will become a fatal error. This patch changes the
warning to reflect this.
pod/perldeprecation.pod
pod/perldiag.pod
pp_sys.c
t/lib/warnings/pp_sys