Rather than using number of variables we can use hash key and value to do the same. When passing variables to subroutine is required using hash and hash reference makes scripts more cleaner. I am bit curious to know if there are any other benefits I would get if I use hash key and value rather than using single variables.
In reply to Benifits of using hash rather than number of variables? by tart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |