in reply to Can't remove directory-Permission denied
I'm pretty sure you never want to delete your working directory; and I'm pretty sure that's what the warning says you are trying to do. I would suggest including a line in your unwanted routine that says something like return unless /[^.]/;.
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Can't remove directory-Permission denied (knot)
by tye (Sage) on Oct 22, 2012 at 15:02 UTC | |
by Athanasius (Archbishop) on Oct 22, 2012 at 16:42 UTC | |
by Lotus1 (Vicar) on Oct 22, 2012 at 15:59 UTC | |
by tye (Sage) on Oct 22, 2012 at 16:23 UTC |
In Section
Seekers of Perl Wisdom