Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

An introduction to POE

by RMGir (Prior)
on Aug 09, 2003 at 20:05 UTC ( #282468=perltutorial: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    #!/usr/bin/perl -w
    use strict;
            #_stop     => \&handler_stop,
  2. or download this
  3. or download this
    sub handler_start {
      my ($kernel, $heap, $session) = @_[KERNEL, HEAP, SESSION];
      # ask for the prompt event to get run next
  4. or download this
    sub handler_prompt {
      my ($kernel, $heap, $session) = @_[KERNEL, HEAP, SESSION];
      # this will make the timeout event fire in 10 seconds
  5. or download this
    sub handler_timeout {
      my ($kernel, $heap, $session) = @_[KERNEL, HEAP, SESSION];
      # queue is empty resulting in shutdown
  6. or download this
    sub handler_gotLine {
      my ($kernel, $heap, $session, $arg, $exception) = 
      # new prompt

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perltutorial [id://282468]
Discipulus Good day bros?!? oh tempora oh mores!
[amitkumarj441]: Hey everyone
[amitkumarj441]: I need to ask a question, where can I post my problem?
[Discipulus]: everyone is me

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2017-04-26 20:14 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (488 votes). Check out past polls.