@array = split(/-/); # will create the new array @array # later on... @array = split(/-/); # will empty the array and create a new array @array with the new values