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

Re^2: RFC: Language::Logo

by liverpole (Monsignor)
on Jan 30, 2007 at 15:35 UTC ( [id://597386]=note: print w/replies, xml ) Need Help??


in reply to Re: RFC: Language::Logo
in thread RFC: Language::Logo

Thanks for the feedback, zentara!

    One of my first thoughts though, is to make a feedback channel

That's an excellent idea.

Actually the module already does have the server respond to the client after each command.  It did occur to me previously that it might be useful to send back a better response than just "" (blank) for success, but I never implemented it.

Let me try modifying the code to send back the client's (x, y) position (and possibly one or two other parameters); the client side can then parse the values from the response, and make them available to the calling program.

Update:  I've made some fairly large changes to the module, such that the query command (and the alias ask) are no longer necessary.  Instead, every time command (or cmd) is called, the user is passed back a hash containing all "interesting" parameters and their values.

I've got to first make sure that my tests still run, but after that I'll be posting the module to CPAN soon (hopefully this evening).

Update 2:  The code is now available at CPAN.


s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (None)
    As of 2024-04-25 00:51 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found