sub tst (&$) { $_[1]++; # passed variable $_[0]->(); # passed block } tst { print $c} $c;
Cheers Rolf
In reply to Re^6: localizing lexical without messing with tie ?
by LanX
in thread localizing lexical without messing with tie ?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |