 
     END LOOP;
 
-    log_var_list(i_var_list => l_var_list);
+    log_new_var_list(i_old_var_list => i_var_list
+                    ,i_new_var_list => l_var_list);
  
     return l_var_list;
   END;


  
      end loop;

 



      end if;     

      --Recompile all referenced packages with PLScope before compiling this package with PLScope
      for l_referenced_object in (  select * 
                                    from  all_dependencies  
                                    where name  = p_package_name
