in reply to Re: Using $1,$2 etc in closures..
in thread Using $1,$2 etc in closures..

Regex match variables aren't actually global. They're... odd. But not global. (Neither are they lexical, though they're mostly lexical. Mostly)

Replies are listed 'Best First'.
Re: Re: Re: Using $1,$2 etc in closures..
by grantm (Parson) on Mar 08, 2003 at 01:25 UTC

    Oh, well that clears that up then. Thanks :-)

    Whatever they are, I think we can all probably agree they're fairly transient in nature and if they contain anything you want then you ought to be saving it somewhere safe real quick.