I now see that you meant the case
Sorry for my misunderstanding. But in this case, I don't see why my original code would not work for this case?my $_; # lexical declared in outer scope sub f { # $_ used here.... }
In reply to Re^10: How can I avoid code repetition here
by rovf
in thread How can I avoid code repetition here
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |