Skip Menu |

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 132943
Status: new
Priority: 0/
Queue: Perl-Dist-Strawberry

Owner: Nobody in particular
Requestors: warrenldodge [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: The -d Directory test fails in Windows 10 bash use
Date: Sun, 5 Jul 2020 21:40:50 -0700
To: bug-Inline-Perl [...]
From: Warren L Dodge <warrenldodge [...]>
Download (untitled) / with headers
text/plain 642b
I am running windows 10 and enabled the Ubuntu linux functionality I loaded Strawberry perl 5.30.2 under this linux This linux mounts the windows drives using this mount method mount -t drvfs c: /mnt/c So in bash, I can cd to /mnt/c/Strawberry If I go into perl and use this command it will come back false even though it is a directory /mnt/c/Strawberry/perl/bin/perl5.30.2,exe -e "if ( -d '/mnt/c/Strawberry' ) {print 'ISADIRECTORY';}" I tried this with the /usr/bin/perl verwion 5.22.1 that comes with windows bash and it works fine. I assume there is a problem in this mount scheme??? Let me know if I can help. Warren Dodge

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to