Invoking method in other thread context

[email protected] (Shmuel Fomberg) Tue, 08 Jan 2008 22:50:32 +0200
Newsgroups perl.ithreads
Message-ID <000e01c85238$1cacec00$6501a8c0@semuel7>
Hi All.

I am currently playing with C#. It have a nice feature that one thread can
call a function in other thread's context. (using the Invoke command, or the
asynchronic BeginInvoke command)
This is useful especially in a GUI program, where one thread is handling the
GUI, and worker threads need to post status. 

So how do we do it in Perl?
Sending signal and relaying the command somehow?

Thanks,
Shmuel.