View Single Post
Old 10-30-2003, 04:35 AM  
Phantazm
Junior Member
 
Join Date: Oct 2003
Posts: 4
Default

changed the code tho this.
it should be quite as good

Quote:
foreach (@test) {
if ($_ =~ /\....$/i) { push (@files,$_); }
else { push (@dirs,$_); }
}
hopefully no filenames ends with .???

So now i'm pretty happy again
Phantazm is offline   Reply With Quote