>>>>> "M" == Mathew Johnston <mjohnston / itactics.com> writes:

M> One semi-related question... when I do a regexp with =~, and try to
M> access the $N variables created, is there risk of those variable having
M> been changed by another thread also doing a regexp? I ask this because

 no,

M> they're global variables, not local (as local vars created within the

 no,

M> thread would be seperate from other threads' local variables).

 $_ and $~ are local, and thread local variables.

Guy Decoux