Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Writing an opinion poll in perl.

by cchampion (Curate)
on Sep 20, 2003 at 10:49 UTC ( [id://292840]=note: print w/replies, xml ) Need Help??


in reply to Writing an opinion poll in perl.

There is WWW-Poll, but it is quite buggy. I tried it, and I had to modify a few things just to be able to run the tests.

It may be a good start if you don't want to write your own system from scratch.

In Poll.pm, change line 281 from  undef (@maxvotes,@votes); to undef (@maxvotes); undef(@votes);

In the demo script you have to change the starting path to "data" and it should work. After that, you're on your own.

Good luck.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2025-04-25 19:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.