in reply to Having problems configuring the server?

I could be reading this wrong, but I see two possible issues:

1: the #!perl-w should be #!/path/to/perl -w
2: space the -w so it reads perl -w

Let me know if this is completely mis-read, however.