This is the mail archive of the
mailing list for the Cygwin project.
Symbolic links and file tests in perl
- From: Scott Webster Wood <treii28 at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 14 Apr 2008 14:25:42 -0700 (PDT)
- Subject: Symbolic links and file tests in perl
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?
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