http://qs321.pair.com?node_id=371904

PerlingTheUK has asked for the wisdom of the Perl Monks concerning the following question:

Hiya,

I have stumbled over a problem in my program. Trying to find the reason I have written the follwing test script::
my $pseudofile = " "; print "File exists.\n" if ( -e $pseudofile );
For the following pseudofile - names Perl claimed the file existed:
my $pseudofile = " "; my $pseudofile = " . . "; my $pseudofile = " .. "; my $pseudofile = " "; my $pseudofile = " . ";
I am not aware of the reason, is this on purpose? Or is this a bug?
I am using Active Perl 5.8.3 and WinXP (MSWin32-x86-multi-thread)

Hans