your two lines are identical (Update: Ah. one slash vs two.. well, hopefully the sever/server note will help OP as well) ... did you mean to suggest that $mysever should be $myserver ?
to the OP -- be sure to use use strict; and use warnings; to catch that type of error..