This program:
print unshift (a, "testing\n");
prints this output:
testing
contrary to the documentation:
unshift(ARRAY,LIST)
Does the opposite of a shift. Or the opposite of a push,
depending on how you look at it. Prepends list to the front of
the array, and returns the number of elements in the new array.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--
Joe Wells <j...@bu.edu>
jbw%bucsf....@cs.bu.edu
...!harvard!bu-cs!bucsf!jbw