in reply to
Re^7: true from (-e "") on Windoze (" is an illegal filename character
in thread true from (-e "") on Windoze
The system call that underlies dir is the same system call that underlies -e, thus similar behaviour is entirely appropriate.
The behaviour of Perl functions is not dictated by what some system call does.
Making Perl work differently would be as asinine as truncating 32-bit return codes to 8-bits.
I would like Perl to stop working differently than documented. Neither that desire nor the documented behaviour is asinine.