1. Perl script gets data from html form. The data will be checked for missing or wrong parameters. The parameters will be sent as XML by POST method to another server (https). The response (also XML) will be parsed, written in a file and shown as html.
2. Another Perl script is called from another server, receiving data in XML, parse data, sents it via email and writes it in a file.