Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: creating a state machine

by kschwab (Priest)
on Mar 12, 2003 at 03:03 UTC ( #242237=note: print w/ replies, xml ) Need Help??

in reply to creating a state machine

You might check out Net::Cmd. It handles most of the details of an "SMTP like" protocol.

Other modules, like Net::SMTP, Net::SNPP, and Net::FTP derive from it.

Those are all, of course, client oriented modules, so none it really helps with your state-machine, but it would help with the line-oriented protocol.

If POE isn't your cup of tea, you might like Net::Server. Similarly named, but unrelated is NetServer::SMTP which shows how to use Net::Cmd within a state-machine type server.

Comment on Re: creating a state machine

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://242237]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2015-11-26 01:25 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (695 votes), past polls