Changed all those functions to return true or false.
unless (&check_name($app{"first_name"})) { undef $app{"first_name"}; push (@errors, "Names must be..."); }
P.S. Added use CGI::Carp qw(fatalsToBrowser warningsToBrowser) but found no complaints.
In reply to Re: Changing the Value Assigned To A Hash Key
by gnurob
in thread Changing the Value Assigned To A Hash Key
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |