Perl Security: 5. When using functions, remember... Returning results A number of things can go wrong when calling a function. Be sure you check on them. Don't make functions that just do their job - Make them return something meaningful. Of course, make this consitent And make it appropiate for the expected data type. Once again: Be sure you check on them.