sub two { (@direc_temp,@files_temp,@dest_temp)= @_; # or (@direc_temp,@files_temp,@dest_temp)= &one; print "Here are all the value found on: @direc_temp,@files_temp and @dest_temp."; ...more code here irrelevant for this problem... } #End sub two