perl code bad cgi-lib

Hi all I am trying to get a very simple perl script running that requires the cgi-lib.pl module. I have uploaded cgi-lib.pl to no avail.
At this time I am getting the cgi returned malformed headers yada yada we all have seen.
I have attached both scripts. if anyone has the time or inclination to look them over.
I wish to use this script for a childrens webpage that generates a story based upon their input.
Thank you
-Kerry
p.s. I did not place this under the perl script forum because I saw that was not active.

happy1.txt (865 Bytes)

cgi-lib.txt (4.79 KB)

Try to remove rlimitMEM for this plan. Next go to domain’s web service and click “Apply”. Now try to access this script.

Tanmaya: Thank you. I finally got it working with a slightly differant perl script that calls cgi-lib. I cannot see what the differance is, BUT it works.
My childrens stories finally work again. http://happytheelf.com
Thank you
-Stampee