in reply to Cleaning up by age
while (readdir (DIR)) {
does not magically assign to $_, so for a quick fix you could change it to
while ($_ = readdir (DIR)) {
You'll be much closer to what you want.
I guess you never saw any of your debug messages that indicated that no files were ever tested in your loop. ;-)
--
I'd like to be able to assign to an luser
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Cleaning up by age
by brianarn (Chaplain) on Nov 13, 2001 at 01:24 UTC |