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

(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



(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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://168010]
[ambrus]: Eily: also webpages aren't displayed on my monitor no matter what I click with the mouse, and there's a blackout right now, could that be a problem?
[robby_dobby]: ambrus: Yes
[hippo]: erix++: "the browser ate my code"
[robby_dobby]: Eily: Now, people are trying to be inventive with crowdsourcing their work, eh? Sure, call on the admins to k-line these sockpuppet accounts!
[robby_dobby]: hippo: I like how you equated your browser to a dog....

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2017-04-25 13:13 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (454 votes). Check out past polls.