Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!unido!fauern!opal!ripley From: ripley@opal.cs.tu-berlin.de (Hans-Ch. Eckert) Newsgroups: comp.lang.perl Subject: Re: Bug in File test operator? Message-ID: Date: 20 Dec 90 05:21:51 GMT References: Sender: ripley@opal.cs.tu-berlin.de Organization: Technical University of Berlin, FRG Lines: 18 In-reply-to: dgg@ksr.com's message of 5 Dec 90 05:13:34 GMT To: In article dgg@ksr.com (David Grubbs) writes: if (-l "." || ! -d _) { # "." is always a real directory. print "Broken.\n"; } else { print "OK.\n"; } I can confirm that above lines print "Broken" on PL41 whereas I get "OK" on PL37. We are running SunOS 4.1 here. I tried it on sun3 as well as on sun4. Greetings, RIPLEY -- Greetings from RIPLEY | D-1000 Berlin 30 | ripley@opal.cs.tu-berlin.de Hans-Christian Eckert | Regensburger Str. 2 | (ripley@tubopal.UUCP)