or download this
@all_values = add_value($x, @all_values);
# gives the list to add to, and takes the newly added list # as a retu
+rn value
@all_values = add_value($y, @all_values);
...
# Now anytime you inspect @all_values, it has the currently # added el
+ements.