This is the mail archive of the
mailing list for the Cygwin project.
- From: "Michael A Chase" <mchase at ix dot netcom dot com>
- To: "Jorge Goncalvez" <goncal11 at col dot bsf dot alcatel dot fr>,<cygwin at cygwin dot com>
- Date: Wed, 6 Feb 2002 08:09:14 -0800
- Subject: Re: Re:symlinks
- References: <200202061030.LAA28866@cabs40.col.bsf.alcatel.fr>
----- Original Message -----
From: "Jorge Goncalvez" <firstname.lastname@example.org>
Sent: Wednesday, February 06, 2002 02:30
> Hi, I have made a symlink with the cygwin command ln -s and i wanted to
> it by Perl code:
> I have this:
> $PROG2 = "C:\\cygwin\\bootp\\linux\\install ";
> if (-l $PROG2)
> system "rm $PROG2";
> print "popo";
> The problem is that the symlink install it isn't removed althought it is
> with ls -l in the good directory?
> I tested my rm command by hand and it works it seems -l not working.
Have you tried Perl's unlink()?
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.htm
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html