See threads::self()
my $thrSelf = threads->self(); [download]
The start of some sanity?
In reply to Re: Accessing Thread within its run by BrowserUk in thread Accessing Thread within its run by kosta