broken again/still.

On 1/13/09, Mark J. Reed wrote:
> On Tue, Jan 13, 2009 at 2:52 PM, greenup wrote:
>  > your perl test was a nice try; but it also did not remove the file,
>  > which is revealing.
> I should have included a return code check:
>
>  perl -e 'unlink("goo/foo") or die $!'
>
d...@w2 ~
$ perl -e 'unlink("goo/foo") or die $!'

d...@w2 ~
$ echo $?
0

d...@w2 ~
$ ls -la goo
total 0
drwxr-xr-x+  2 dz         mkgroup-l-d 0 Jan 13 14:47 .
drwxrwx---+ 25 Administrators SYSTEM      0 Jan 13 14:46 ..
-r--------   1 dz         mkgroup-l-d 0 Jan 13 14:47 foo

--
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/

Reply via email to