"better code"... *shrug* Maybe. Maybe not. It doesn't rely on $_ to be there which is important in more complicated code where you might affect the value of $_ without realising... I also find it easier to read personally.
In reply to Re: Cool! Thanks!
by Ionizor
in thread Filehandle in hash value gets lost
by mr. jaggers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |