IT LIVES!
seems i had to the line
print "Content-type: text/html\n\n";
just after the hashbang on wakaba.pl it would just spit out 500 errors; after re-reading the error log on the server I decided to actually google "premature end of script headers"; seems it doesn't like perl scripts with html output with that line -_-
well it all works now!