Title: POE::Session::SubVar (was: Pseudo Lexical State Parameters)
Garrett Goebel wrote:
> Garrett Goebel wrote:
> > 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://
Garrett Goebel wrote:
> 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,
> Actually, you can save you 2 additional keystrokes:
laughing! now ekkis truly happy. my vote for that approach!
-Original Message-
From: Garrett Goebel [mailto:garrett@;scriptpro.com]
Sent: Tuesday, November 12, 2002 10:53 AM
To: 'Erick Calder'; [EMAIL PROTECTED]
Subject: RE: Pseudo L
On Tue, 12 Nov 2002, Rocco Caputo wrote:
> I have forwarded your patch to the task queue at [EMAIL PROTECTED]
OK, thanks. How long do those usually take? There are about 20 unfiled
items.
> I have been recommending
>
> Program => sub { do_something($abc, $something_else) },
>
> which doe
Erick Calder wrote:
>
> > I like the simplicity of this syntax.
>
> me too. I still prefer $kernel->yield() as it is simple, but
> certainly kernel()->yield would be better than
> $message->kernel->yield()? i.e. where "better" == "shorter"
> - me lazy and hate to read/type > I have to :)
Actu
On Tue, Nov 12, 2002 at 11:38:15AM -0500, Dmitri Tikhonov wrote:
> On Fri, Nov 08, 2002 at 04:23:30PM -0500, Dmitri Tikhonov wrote:
> >
> > Where Program is a code ref, the behavior will be
> > $program->(@$args);
> >
>
> The reason I am doing this is that I have code like
>
> Program
> I like the simplicity of this syntax.
me too. I still prefer $kernel->yield() as it is simple, but certainly
kernel()->yield would be better than $message->kernel->yield()? i.e. where
"better" == "shorter" - me lazy and hate to read/type > I have to :)
> Rather than patching Session.pm, I reco
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 variab
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 a fir
On Tue, 12 Nov 2002, Rocco Caputo wrote:
> I cannot tell the difference between
>
> Program => [ program, @args ],
>
> and
>
> Program => [program],
> ProgramArgs => \@args,
You're right, in this case the functionality is the same. The key
advantage of my patch is that one will be able
On Fri, Nov 08, 2002 at 04:23:30PM -0500, Dmitri Tikhonov wrote:
>
> I am thinking of adding extra argument to POE::Wheel::Run's constructor:
>
> ProgramArgs => [@args],
>
>
> Where Program is a scalar, the behavior will be
> exec($prog . ' ' . join(' ', @$args);
>
> Where Program
11 matches
Mail list logo