# I suppose I must be in the $_ appreciation society :) for ($guarantee) { s/this/that/g; s/foo/bar/g; #..etc. } # or (probably not preferable in this case, but it IS sometimes # handy to localize $_, e.g. in File::Find 'wanted()' subroutines) { local $_ = $guarantee; # ... some operations on $_ $_ = $guarantee; }
In reply to Re: A minor epiphany
by runrig
in thread A minor epiphany
by footpad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |