did you upload the yawpsrc.pl in text mode? Not binary?
Also...... if you edited the yawpsrc.pl file....... you definatley need to DISABLE WORD WRAPPING on any text editor...... or it fubars the .pl file.
If permissions are right and the text.cgi file works...... then I would assume what is not working is the actual file your going to run vs the test.cgi ...... I also assumed that was the yawpsrc.pl file......but I'm not familiar with that blog system. What file usually runs instead of the text.cgi? I'd say your problem lies there.
hth's