I am trying to modify the nameless farmal arguments to actual arguments ,the above code is giving an error as "modification to readonly value attempted".so,suggest me so,that i can trap my mistake.#!/user/bin/perl -w upper($1,$2); sub upper { for(@_) { tr/a-z/A-Z/; } }
In reply to How to modify the actual arguments by perladdict
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |