| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| X-YMail-OSG: | Kg9eI98VM1lI4vM6qOxwWcmVCRigSE1XcYxtQjX5ra1PYXtkEIvyzXvtqdpmD0umHpxQo1pifZaGoF_bLb3gvqvv8LGCkFqX0HPHXrO1ouasqmfXynecE9bNTQU6HQ-- |
| X-Mailer: | YahooMailRC/902.40 YahooMailWebService/0.7.185 |
| Date: | Mon, 14 Apr 2008 14:25:42 -0700 (PDT) |
| From: | Scott Webster Wood <treii28 AT yahoo DOT com> |
| Subject: | Symbolic links and file tests in perl |
| To: | cygwin AT cygwin DOT com |
| MIME-Version: | 1.0 |
| Message-ID: | <709842.18785.qm@web38008.mail.mud.yahoo.com> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
I tried doing a if(-l $file) where $file was the name of a symbolically linked directory in the current working directory and it returned a false. Doing a (-d $file) returned true.
Is there any way to work around this and then retrieve the real path of a symbolically linked directory under cygwin?
SW
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |