Re: perl -r says readable dir is unreadable

2009-04-27 Thread Reini Urban
2009/4/26 Mikel Ward: Sorry. Found this http://sourceware.org/ml/cygwin/2005-03/msg00488.html Apparently it's been an issue since at least Perl 5.8.6 in 2005, but probably longer. Oops. I'll to fix that and get it into perl core. Right now I'm on a business trip in Berlin, so it will need

perl -r says readable dir is unreadable

2009-04-25 Thread Mikel Ward
Hi I'm having problems with a Perl script that works fine on Linux. The key is that the -r (file is readable) operator returns false for directories that I CAN read. test and ls prove that I can read them. Something that might be related is that C:, C:\Windows, and others are owned by the

Re: perl -r says readable dir is unreadable

2009-04-25 Thread Yitzchak Scott-Thoennes
On Sat, April 25, 2009 9:37 pm, Mikel Ward wrote: The key is that the -r (file is readable) operator returns false for directories that I CAN read. test and ls prove that I can read them. -r does not test to see if you can read a file, it tests whether the mode gives you read access to the

Re: perl -r says readable dir is unreadable

2009-04-25 Thread Mikel Ward
Sorry. Found this http://sourceware.org/ml/cygwin/2005-03/msg00488.html Apparently it's been an issue since at least Perl 5.8.6 in 2005, but probably longer. On Sun, Apr 26, 2009 at 2:37 PM, Mikel Ward mi...@mikelward.com wrote: Hi I'm having problems with a Perl script that works fine on