Rocco Caputo wrote: > Sent: Tuesday, November 12, 2002 10:40 AM > On Mon, Nov 11, 2002 at 06:00:52PM -0600, Garrett Goebel wrote: > > I noticed at: > > http://poe.perl.org/?POE_RFCs/Lexical_state_parameters > > > > That there was a desire to: "Turn @_[KERNEL, HEAP, etc.] > > into regular variables, somehow" > > > > Attached and also inlined at the bottom, you'll find [...] > > I like the simplicity of this syntax. Rather than patching > Session.pm, I recommend subclassing it in the same vein as > http://poe.perl.org/?POE_RFCs/Named_state_parameters
Okay, I'll take a look at doing this... > Will the lexical @params be clobbered by multiple sessions if we ever > get them running in separate threads? Don't know. Probably a question best run by Artur Bergman. Though my working assumption is that if the my @params stack variable isn't marked :shared, then it'll be thread local... and likely not a problem. Though I'm the last person that should be giving advice on writing threaded perl code. -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com [EMAIL PROTECTED]
