in reply to How to handle passed data in subroutines

Hi Brad, uc is a function, it does not modify $_. If you want to modify $_, try, $_ = uc; # note that I have omitted the implicit $_ from the uc function.

You can find the documentation of uc by typing perldoc -f uc, it gives you a detailed description of the function.