Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

(jeffa) Re: Your own Chatterbox nodelet in less than 50 lines of code.

by jeffa (Bishop)
on May 20, 2002 at 23:38 UTC ( #168010=note: print w/replies, xml ) Need Help??


in reply to Your own Chatterbox nodelet in less than 50 lines of code.

Not bad. Mine and mirod's were under 20 lines (granted they are non-CGI of course): And let's not forget OeufMayo's version at XML::Parser Tutorial

:)

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)
  • Comment on (jeffa) Re: Your own Chatterbox nodelet in less than 50 lines of code.

Replies are listed 'Best First'.
Re: (jeffa) Re: Your own Chatterbox nodelet in less than 50 lines of code.
by Dog and Pony (Priest) on May 21, 2002 at 08:00 UTC
    Mine and mirod's were under 20 lines
    Yeah, but you are cheating by putting the braces on the same line as the sub name and whatnot. ;-)

    Seriously though, nice to see more examples. Those modules really makes hard things really simple sometimes. I was insanely surprised when I discovered how XML::Simple worked - it did what? Create a data structure you can just burrow into that easily? It was amazing. :)

    Having just discovered that XML::Simple was just as simple to use as LWP::Simple, I was very happy about this fact and wanted to whip up a small demonstration of how easy things can be if you just use modules. By choosing to (poorly) imitate the chatterbox nodelet, I think I covered quite a broad spectrum, with a few good modules and very little code. Or effort, for that matter. :)

    It was also very rewarding when someone posted the html code for the "sexisgood" submit button in the chatterbox, and it showed up in the middle of the chat in my version. I'm thinking to never fix that. :)


    You have moved into a dark place.
    It is pitch black. You are likely to be eaten by a grue.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://168010]
help
Chatterbox?
[stevieb]: I'm learning that no matter how good a piece of software is at what it's supposed to do, it's a piece of shit without providing any API documentation. (Talking about C++ here currently). Seriously... write software for an embedded platform and make...
[stevieb]: ...you guess based on the sparse examples, and the header files that are spread out illogically?
[stevieb]: document the public facing functions/methods people... ALL OF THEM.

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2017-05-28 23:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?