I was reading an interesting article in The Perl Journal right here that included some code for an RPC server daemon and client. While I recommend the article on its own merits, I was a little mystified by the following assignment in a subroutine:
my ($keywords) = "@_";Why would Jon Orwant (of Camel fame and publisher of TPJ) wrap his subroutine arguments array in double quotes like that? I don't argue that it will work, but why add the overhead of interpolation? Anyone got some mystical insights on this?
Thanks in advance... Guv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |