Two reasons come to mind. First, you can't really manipulate the values (to untaint them) as param() isn't an lvalue. Second, the context is unambiguously scalar in this case. In a print statement, it may be unintentionally list.
Oh, and a third might be for the efficiency of not calling a method repeatedly.
In reply to Re: CGI and why?
by chromatic
in thread CGI and why?
by Sifmole
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |