[Padre-dev] Next release on Saturday/Sunday
Steffen Mueller
smueller at cpan.org
Fri Jan 2 07:47:07 PST 2009
Hi Petar,
Petar Shangov wrote:
>> No, that's not the problem. The run() method is called in a thread.
>> Only what you store in the Padre::Task::ErrorParser object is ever
>> visible to the main thread (and thus the code in the finish()
>> method). More likely than not, you cannot transfer code refs
>> reliably using Storable.
>
> There are no coderefs involved, the transmo() is generated in eval
> and used internally by Parse::ErrorString::Perl. Unfortunately I'll
> have to give up on this until I find a way to replicate it.
Anything you store in the symbol table is thread-local, of course, so
that will trip you just as well.
Cheers,
Steffen
More information about the Padre-dev
mailing list