Have you tried talking HTTP to it? :)
It works for me. Could you elaborate on the problem?
David Davis
☄ Software Engineer
http://xant.us/
http://xantus.tel/
On Tue, Jul 14, 2009 at 14:33, Larry Clapp la...@theclapp.org wrote:
I can't get poe.perl.org to talk to me. Anyone know why
I'd look here: http://search.cpan.org/dist/POE/
and Start with POE::Kernel and POE::Session
The POD docs are the most recent.
Cheers
David Davis
☄ Software Engineer
http://xant.us/
http://xantus.tel/
On Tue, Apr 28, 2009 at 19:38, howard chen howac...@gmail.com wrote:
Hello,
On Wed, Apr
Replace 'main' with MyModule and remove MyModule from your function names.
You should also read the docs.
David Davis
☄ Software Engineer
http://xant.us/
http://xantus.tel/
On Tue, Apr 28, 2009 at 10:00, howard chen howac...@gmail.com wrote:
Hello,
Most example put callback function
I'd like to take a look at PoCo-EasyDBI-Multiplex.
Btw, I'm the EasyDBI author, so you can direct any questions about it to the
list.
David Davis
☄ Software Engineer
http://xant.us/
http://xantus.tel/
On Mon, Apr 27, 2009 at 12:16, Phil Whelan phil...@gmail.com wrote:
Hi,
I like POE
, time, etc
HTH
David Davis
☄ Software Engineer
http://xant.us/
On Wed, Apr 1, 2009 at 20:14, Roy M. setesting...@gmail.com wrote:
Hello,
Read through the cookbook and found POE is very powerful!
However, is it possibe to provide some hints/tutorial on developing
COMET based web app
Your works for me, if there is a \n at the end of the file.
Since you are stacking Line and JSON, you need a line feed at the end.
The POE::Filter::JSON author,
David Davis
☄ Software Engineer
http://xant.us/
On Mon, Oct 27, 2008 at 06:54, Votava, Craig M (Craig)
[EMAIL PROTECTED] wrote
Look at $poe_kernel-poe_kernel_loop();
David Davis
☄ Software Engineer
http://xant.us/
On Mon, Aug 4, 2008 at 08:24, hideo [EMAIL PROTECTED] wrote:
Tony Cook (Mon 08/04/08 22:39):
In the spirit of POE::XS::Queue::Array, I've released
POE::XS::Loop::Poll, an implementation of POE's event
compatible and the performance penalty is minimal.
What does everyone else think?
David Davis
☄ Software Engineer
http://xant.us/
On Sat, Jul 19, 2008 at 10:38, Martijn van Beers [EMAIL PROTECTED] wrote:
Hi,
I've been working on a filter to do SSL, inspired by David Davis' try in
Sprocket
haven't done any search on this
yet. Is there a module that would provide SSL (or some similar) feature
that would integrate with POE basic network communications ?
Thanks for any suggestions.
Al
--
David Davis
☄ Software Engineer
http://xant.us/
my needs.
It should have ability to serve Perl/PHP requests.
The reason behind my this request is i have some requirements which are
not
being solved by my existing Apache setup like giving a totally seperate
enviornment for dynamic virtual hosts.
Pl. reply,
Thanks,
abhi
--
David Davis
It looks like a competition.
He includes lines of code as a metric, which should tell you
something...
Well, anyway.
As Pierre, a commenter, suggested; you could write a script that runs
Perl piped with xargs and the -n and -P options. No POE needed, and
it would be faster!
--
David
That filter is for compressing a stream. You should look at using an
archive module in combination with POE::Component::Generic
HTH
Cheers
--
David Davis
• Software Engineer
• [ http://xant.us/ ]
On Nov 3, 2007, at 20:09, Jeremy Palmer [EMAIL PROTECTED] wrote:
Hi,
Does anyone know
Anthony,
If no one is going to feed you the info you need, then you need to research
the docs yourself.
:)
Start with POE::Kernel and the POE::Session docs, and have a look at the
cookbook on poe.perl.org
--
David Davis
☄ Software Engineer
On 8/9/07, Anthony R. J. Ball [EMAIL PROTECTED] wrote
counts
@BinGOs I always have an eye on backwards compatibility.
@perigrin to watch it slip away
+nperez That is certainly something to consider. LotR's idea is
probably better for backwards compat
@Leolo backwards compatible with do nothing useful is easy
--
David Davis
)
},
},
)
},
parent_exception = sub {
pass(parent got exception);
$poe_kernel-sig_handled();
},
_stop = sub { exit },
},
);
POE::Kernel-run();
exit;
--
David Davis
Software Engineer
--
David Davis
Software Engineer
.9989 is the most recent version of POE
David
On 6/25/07, Jeremy Palmer [EMAIL PROTECTED] wrote:
Hi Zack,
Yes I have a resent version of POE installed from CPAN. Version
0.9917.
Thanks
Jeremy
Zack Payton [EMAIL PROTECTED] 26/06/2007 07:08
Jeremy,
I assume you are probably running the
POE::Loop::TkActiveState is using select with a timeout of 0. That doesn't
look right to me.
my $hits = select(
my $rout = $loop_vectors[MODE_RD],
my $wout = $loop_vectors[MODE_WR],
my $eout = $loop_vectors[MODE_EX],
0,
);
David
On 5/2/07, John R. [EMAIL
You may want to look at POE::Component::IKC
http://search.cpan.org/~gwyn/POE-Component-IKC-0.1904/IKC.pod
HTH
Cheers
David
On 4/24/07, Craig Votava [EMAIL PROTECTED] wrote:
Folks-
First of all, thanks to everyone involved with POE! I've
just been learning about it and am anxious to
I used 'sudo ngrep port 32080' and watched ls /proc/pid/fd/ while I hit
the http server.
I noticed that the responses were HTTP/1.0 but I didn't see a connection:
close header.
So, I set $response-protocol( HTTP/1.1 ); in the cookbook example, and
the sockets didn't leak!
I think we have a few
You are missing a result state in your session. add result = \result
Cheers
David
On 3/4/07, Michael Hare [EMAIL PROTECTED] wrote:
Does anyone have a concise working example of POE::Component::Generic to
base some testing off of? I don't fully understand what needs to be
done with the
POE is not threaded, and therefore multiple 'event chains' won't be running
simultaneously in a single process.
David
On 3/1/07, Michael Collins [EMAIL PROTECTED] wrote:
i believe 'event chain' would be appropriate
On 3/1/07, Michael Collins [EMAIL PROTECTED] wrote:
POE Gang,
I
Whoops, forgot to cc the list.
David
-- Forwarded message --
From: David Davis [EMAIL PROTECTED]
Date: Feb 23, 2007 11:00 AM
Subject: Re: POE and XUL
To: Rutger Vos [EMAIL PROTECTED]
The problem with the xul poco is that you can't send data back to the
browser unless an action
, just 'Died' [Was: POE DBI]
To: David Davis [EMAIL PROTECTED]
I'm not totally sure what you mean by error message...
With
sub POE::Component::EasyDBI::DEBUG () { 1 }
I get the following:
$_[ARG0]-{'error'} = 'Died'
and
POE::Component::EasyDBI got an read error 0 from Subprocess
Do you have the exact error message handy? None of my code has the word
died, so I'm assuming its an error coming from dbi or dbd::odbc
David
On 2/21/07, Jake Peavy [EMAIL PROTECTED] wrote:
On 2/21/07, David Davis [EMAIL PROTECTED] wrote:
I'm the author of EasyDBI
snip
Comments
Could you run the test manually and reply with the output?
If using CPAN.pm:
perl -MCPAN -e shell
cpan[4] look POE
perl Makefile.PL
# prepare ./mylib
make
# edit the readline test, and change the 0 to 1 in sub DEBUG() { 0 }
vim ./t/30_loops/00_base/wheel_readline.pm
# then run the test
perl
code at this
point to try to see where the error is. It seems as if the POE module
works fine on the host in question although the test has failed.
-Michael
David Davis wrote:
Could you run the test manually and reply with the output?
If using CPAN.pm:
perl -MCPAN -e shell
cpan[4] look POE
Did $heap-{wheel}-get( prompt: ); not work for you?
It's documented.
David
On 5 Feb 2007 13:35:13 -0800, Paul Miller [EMAIL PROTECTED] wrote:
I'm using POE::Wheel::Run successfully and there's a situation where
my prompt should change dynamically. I couldn't find a way to do it
directly,
Here is my working example:
http://svn.xantus.org/shortbus/trunk/cometd-perl/lab/aio.pl
David
On 12/13/06, Rocco Caputo [EMAIL PROTECTED] wrote:
Although Marc Lehmann doesn't come out and say so, IO::AIO provides
two features that support its use from POE in a couple different ways.
It
Gil,
I've fixed that test in svn. You can either check out the lastest version
or force install POE.
David
On 5/23/06, Gil Vidals [EMAIL PROTECTED] wrote:
My upgrade to POE 0.35 failed. I've installed POE several times and
never had a problem before. I install via CPAN's install POE.
The
You could move the use POE line above the two use sigtrap lines.
David
On 22 May 2006 14:07:57 -0700, sbk [EMAIL PROTECTED] wrote:
hi,
i'm realizing that loading POE replaces my signal handlers
is there a way around this? i rather like my signal handlers ... :)
they perform useful chores,
Lanas,
The alias bambi is on the server component NOT the sessions it spawns for
each connection. InlineStates don't apply to the main server session but
the child sessions that are created. So your post is going to the server
component, not the child session. This makes sense to me. I
If you call $poe_kernel-run(); without any sessions created yet, then it
will return immediately.
Call that, then use run_one_timeslice and no warning will be produced.
David
On 9/5/05, Jay Strauss [EMAIL PROTECTED] wrote:
Rocco Caputo wrote:
On Sep 5, 2005, at 17:43, Jay Strauss wrote:
You just delete your readwrite wheel after all the data is flushed.
David
On 8/1/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
O.K.
And how to disconnect the client if the connection is made through
POE::Wheel::SocketFactory.I thik there is no shutdown method there.
Pl. reply I shall be
, or distribution
of this communication, other than by the intended
recipient, is strictly
prohibited.
**
From: David Davis [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 14, 2005 1:26 PM
To: Bob Faist
Cc: poe
not use this technique to forward users to different
pages, as this
makes the page inaccessible to some users. Instead, automatic page
forwarding should
be done using server-side redirects.
-
Use a Location: header and a 302 status to redirect the browser.
--
David Davis
Perl Developer
http
There are quite a few DBI components for POE. You could use one of
those. I'm partial to mine, but you should judge for yourself.
http://cpan.teknikill.net/?poe*dbi
--
David Davis
Perl Programmer
http://teknikill.net/
$7.95 per month hosting
WITH ssh access
http://hosting.teknikill.net
I'm releasing Apache::Backend::POE today, look for it on CPAN soon.
I'll also post the url on the list for those that want it sooner.
David
On Fri, 25 Mar 2005 19:20:40 +, Matt S Trout
[EMAIL PROTECTED] wrote:
On Thu, Mar 24, 2005 at 04:30:54PM -0800, David Davis wrote:
I can give you
to try it out but as always:
short on time to actually do it and load-test it.
Thanks,
Bas.
--
David Davis
Perl Programmer
http://teknikill.net/
Try CPAN Suggest!
http://cpan.teknikill.net/
I suggest reporting this bug:
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=POE%3A%3AComponent%3A%3AClient%3A%3AUseragent'
--
David Davis
Perl Programmer
http://teknikill.net/
Try CPAN Suggest!
http://cpan.teknikill.net/
On Thu, 27 Jan 2005 13:01:47 -0500, Ed Heil [EMAIL PROTECTED] wrote
Response below.
On Thu, 27 Jan 2005 20:15:22 +0100, Bas Schulte [EMAIL PROTECTED] wrote:
Hi David,
On donderdag, jan 27, 2005, at 00:45 Europe/Amsterdam, David Davis
wrote:
Can I start a new session in client_input, start a new POE::Wheel::Run
from there *in* the ClientInput state
Setup another session to handle wheel run, and use $_[SENDER] to reply
back if the client is still connected.
--
David Davis
Perl Programmer
http://teknikill.net/
Try CPAN Suggest!
http://cpan.teknikill.net/
On Wed, 26 Jan 2005 19:43:15 +0100, Bas A. Schulte
[EMAIL PROTECTED] wrote:
Hi all
Response within,
On Wed, 26 Jan 2005 22:36:25 +0100, Bas Schulte [EMAIL PROTECTED] wrote:
Hi David,
On woensdag, jan 26, 2005, at 20:01 Europe/Amsterdam, David Davis wrote:
Setup another session to handle wheel run, and use $_[SENDER] to reply
back if the client is still connected
.
It may not be what you want if you are strickly wanting a curses based program.
This is a start with three step back and none forward. I hope my luck gets
better.
Cheers, Nadim.
--
David Davis
Perl Programmer
http://teknikill.net/
Theres a cool thing about wikis, anyone can add to it.
David
On Fri, 03 Dec 2004 15:55:09 -0500 (EST), [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
On 03-Dec-2004 Rocco Caputo wrote:
On Thu, Dec 02, 2004 at 05:35:40PM -0800, Ofer Nave wrote:
2) Reading over the POE::Kernel docs, I
You could do a tell() on the wheels' file handle which is located at
$wheel-[POE::Wheel::FollowTail::SELF_HANDLE]
or $wheel-[0] for short.
David
On Mon, 18 Oct 2004 13:48:44 +0200, Thomas Nagel [EMAIL PROTECTED] wrote:
Hi,
after playing around with POE::Wheel::FollowTail I wonder how to get
.
I'm xantus on irc.perl.org in #poe.
--
David Davis
Perl Programmer
http://teknikill.net/
On 3 Oct 2004 18:55:58 -, PerlDiscuss - Perl Newsgroups and
mailing lists [EMAIL PROTECTED] wrote:
Hello,
I am working on creating a proxy server based off the example given on the
poe.perl.org
, and we can compare notes
I'll be in #poe as xantus.
--
David Davis
Perl Programmer
http://teknikill.net/
On Sat, 21 Aug 2004 23:03:52 -0500, Nick Perez [EMAIL PROTECTED] wrote:
Oops. Reply went to Rocco but not the list: here it is.
-- Nick
-- Forwarded message
I like POEx also.
Philip:
If you wanted to get a postback for a certain session/event you could do:
ZipEvent = $kernel-ID_id_to_session($session_id)-postback('zip_event',@event_args),
pretty ugly and would cause an error for a session that didn't exist
I would like to suggest we use
Message ---
From: Jay Strauss [EMAIL PROTECTED]
To: David Davis [EMAIL PROTECTED]
Sent: Tue, 10 Feb 2004 20:40:12 -0600
Subject: Re: Using POE::Wheel::SocketFactory
There isn't one, I had to dissect the vendor supplied java client to
determine the messages. The way the conversation goes
]
To: David Davis [EMAIL PROTECTED]
Sent: Thu, 5 Feb 2004 07:43:07 +0100
Subject: Re: Eksemple on http post instead of http get.
Hi David...
Thanks for you example , it helped me very much , and hopefully also
others.
I have one more questions.
How do i one more variable to
$kernel
51 matches
Mail list logo