in reply to RE: (Ovid) RE(2): modify variable on pass by value
in thread modify variable on pass by value

Oddly enough, if I followed my own advice in make a new list by substituting an old list, I could rewrite this particular example of an act-on-inputs function as simply:
RemoveCaps $_ for @data = @input;
Heh. There's more than one way to do it.

-- Randal L. Schwartz, Perl hacker