From: Joel VanderWerf Date: 2007-06-23T07:49:21+09:00 Subject: Re: Is $! thread safe? Gregory Brown wrote: > On 6/22/07, MenTaLguY wrote: >> On Sat, 23 Jun 2007 07:26:19 +0900, Erik Veenstra >> wrote: >> > From the code below, it appears that $! is thread safe. >> > >> > Is it? >> >> Each thread gets its own private $!, so yes. > > Is that a special case for built in globals? I'm assuming so, but just > curious. No, only for a subset of them, including $SAFE and the pattern matching vars. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407