$delete = "untitled folder"; #folder named (untitled folder) to be delete in the same directory
@files = grep(/$delete/, readdir (DIR));
foreach $file (@files)
finally i have solve my problem,
i don't know why that (unlink) won't work.
but rmdir can do the job
Thank you for help ghostdog74 & slokunshialgo