Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Some help

by rchiav (Deacon)
on Nov 04, 2001 at 01:53 UTC ( #123088=note: print w/replies, xml ) Need Help??

in reply to Some help with a lottery picking program

The only thing I'd add (beside use strict and warnings) would be to check your input data. The biggest part of programming isn't making a program work, it's making it so it's "idiot proof". For example, what if someone enters "sdfgf" for the number of lines to play? You should make sure the input is a positive integer. Also, you should check to make sure a valid email address is entered. There's actually a module that will do this, but it's name escapes me at the moment. Also, it would be a good idea to show the person the email address so they can confirm that they typed what they meant.

Other than that, nice job :).


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2021-09-18 18:05 GMT
Find Nodes?
    Voting Booth?

    No recent polls found