rather than playing games with $_. First of all it is more obvious. But secondly you will avoid the problems that I mentioned in Re: Re: $_ haters anonymou - problems that will come back and bite you when you start trying to use features like map and grep. (Which alias each element in a list to $_ and then do something. Well if the do something calls a function like the above...)$guarantee =~ s/OldValue/NewSetting/; # /g?
In reply to Re (tilly) 1: A minor epiphany
by tilly
in thread A minor epiphany
by footpad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |