This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Existence check fails on Cygwin Perl
- From: "Nellis, Kenneth" <Kenneth dot Nellis at acs-inc dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 17 Aug 2010 07:51:18 -0500
- Subject: RE: Existence check fails on Cygwin Perl
- References: <20100817082041.GA16295@calimero.vinschen.de>
> From: Corinna Vinschen
> On Aug 16 18:13, Andrew DeFaria wrote:
> > This is strange. I usually tend to use Cygwin's Perl as it is more
> > full featured and works well but there are times when I am forced to
> > use "cqperl" - a Perl that comes with Rational Clearquest - at my
> > clients. Here it seems that Cygwin's Perl utterly fails the test
> > where as cqperl - a derivative of ActiveuuState - works.
> >
> > This is using the existence check (-e) for a file. The file happens
> > to be on a share thus we are using UNC notation. It doesn't even
> > matter if "server" is a real server or not, nor whether the share
> > and path exist. Use anything you like. In fact use "server" and
> > "path" and "file". Either way Cygwin's Perl reports that the file
> > exists even when it doesn't, or the path is wrong or even if the
> > server does not exist!
> >
<snip>
>
> I can not reproduce your problem. I used "\\\\server\\path\\file"
> unchanged, as well as valid server and share names and just a
> non-existant file name. In both cases the script prints "false".
> And it prints "true" for an existing file, just as expected.
>
> BLODA?
>
>
> Corinna
FWIW, I was able to reproduce the OP's results, both with Cygwin's
Perl 5.10.1 and cqperl v5.8.6. I hadn't had any BLODA issues to
date.
--Ken Nellis