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

Re: A few ideas for an old script

by maverick (Curate)
on Dec 26, 2001 at 10:50 UTC ( [id://134357]=note: print w/replies, xml ) Need Help??


in reply to A few ideas for an old script

I would advise some design changes and coding practice improvements.
  • use strict; (this will help catch a lot of potential bugs)
  • use warnings; (this will help catch a few more)
  • use taint mode (this will help make the script more secure)
  • use CGI.pm
  • use Email::Valid or some other CPAN module instead of a home rolled email validator
  • use Mail::Sendmail or some other CPAN module instead of opening a pipe to sendmail
  • Consider dividing into several smaller scripts (on per feature) instead of adding more features to this one. Smaller scripts == faster compile time. This will also improve your ability to maintain this code as well as add new features.
First glance suggestions...Hope they help.

/\/\averick
perl -l -e "eval pack('h*','072796e6470272f2c5f2c5166756279636b672');"

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2024-03-28 13:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found