As the server.pl will search the file
http://localhost:1010/cgi-bin/myp.cgi.
that is not a file, but a http-url. i don't get how your application
architecture looks like.
what exactly do you mean when you say "server.pl will search ..."? as it
is a url i can only guess it does fetch the url via lwp.