Blokhead,
The problems I'm having is passing $fixed_path to sub routine (sub find_copy_rename) my code works independantly but now I'm trying to make it work dynamicall by reading a file and getting values out of the file like a file path , certain numbers , etc. I tried to compile it but it gives me $dir, $get_each_directory & $newdir "requires a special package name" I'll appreciate your help.