in reply to uc and lc function
You should assign the result of uc(...) to another variable.
$name = "world"; $uc_name = uc($name); print $uc_name,$/;
if you want to change the case of the current variable, you could use tr.
$name = "world"; $name =~ tr/[a-z]/[A-Z]/; print $name, $/;
--
hiseldl
"Act better than you feel"
|
|---|