http://qs1969.pair.com?node_id=377789


in reply to Re: capture vars undef
in thread capture vars undef

No this still won't work because $1,$2,$3 still fall out of scope because they are not in the 'if' block.
Update: This does work, but don't understand why since the vars have gone out of scope.