Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Strawberry Perl on Windows 10 file test operators do not work as expected

by swl (Parson)
on Jul 22, 2020 at 22:16 UTC ( [id://11119685]=note: print w/replies, xml ) Need Help??


in reply to Strawberry Perl on Windows 10 file test operators do not work as expected

Works for me (see below).

Cases where it does not work are where there are unicode chars in the file names, which is when Win32::LongPath is very useful.

perl -We "print -e 'C:\Users'" 1
perl -v This is perl 5, version 30, subversion 0 (v5.30.0) built for MSWin32-x +64-multi-thread Copyright 1987-2019, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11119685]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-23 20:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found