Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by jeffa (Chancellor)
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.
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2014-10-25 19:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (148 votes), past polls