Comprehensive, flexible input validation and parsing with Perl, targeted at web applications