in reply to Newbie Question -- Changing File Path?
When the array is all filled up with your unwanted files you just say:$array[0] = C:/MainDir/SubDir/ExtraDir/file1.txt
or this works just as well$i = $#array; for ($i;$i >= 0;$i--){ unlink $array[$i]; }
while (@array) { $x = (pop, @array); unlink $x; }
|
|---|