in reply to Re: 'unlink' seems to not work correctly ...
in thread 'unlink' seems to not work correctly ...
Update Refactored wanted function.find( {wanted => \&wanted, no_chdir=>1}, @directories ); sub wanted { my $wanted = -l && !-e; push @msgs, $_ and $counter++ if $wanted; return if $param{test} or !$wanted; unlink or croak "Warning: couldn't unlink '$_' :$OS_ERROR\n"; return; }
print+qq(\L@{[ref\&@]}@{['@'x7^'!#2/"!4']});
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: 'unlink' seems to not work correctly ...
by merlyn (Sage) on Dec 03, 2009 at 05:01 UTC | |
by Anonymous Monk on Dec 03, 2009 at 07:34 UTC | |
by merlyn (Sage) on Dec 05, 2009 at 13:15 UTC | |
by Anonymous Monk on Dec 05, 2009 at 14:35 UTC |