[comp.lang.perl] is

vsh@etnibsd.UUCP (Steve Harris) (10/18/90)

The subject line says it all.  I'm running:

$Header: perly.c,v 3.0.1.5 90/03/27 16:20:57 lwall Locked $
Patch level: 18

Consider the following script, and output:

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- script =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

# the file "." should always exist
$f = ".";
print "-e $f returns ", -e $f ? "true" : "false", "\n";
print "-e _ returns ", -e _ ? "true" : "false", "\n";

# the file "...." probably doesn't exist
$f = "....";
print "-e $f returns ", -e $f ? "true" : "false", "\n";
print "-e _ returns ", -e _ ? "true" : "false", "\n";

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- output =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

-e . returns true
-e _ returns true
-e .... returns false
-e _ returns true

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Has anybody noticed this before?  Is it the correct behavior?
-- 
Steve Harris - Eaton Corp. - Beverly, MA - uunet!etnibsd!vsh