Thanks for the suggestions guys.
----- Original Message ----- From: "Leila Lappin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 28, 2002 11:55 PM Subject: Is there a good Perl way for a validation subroutine? > Hello all, > > I need to write a subroutine that validates several fields and returns one summary field containing names of what failed. I was thinking of concatenating names of all fields that failed and return that string from the subroutine. Then check the string (return value) and if it's not null update the data base with it. Is that considered a good style for Perl? Frankly I'm not sure if this is a valid question, sorry if it's not and just ignore it, I just would like to do this the best way possible. > > thanks > Leila > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]