sub search { local $_; ... }
The previous value of $_ is restored when search returns ($_ goes out of scope).
In reply to Re^2: $_ confusion with loops in loops
by BillKSmith
in thread $_ confusion with loops in loops
by stanley82
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |