I'm a little unclear on what you're trying to accomplish, here. A CGI script isn't 'running', unless someone accesses the page. You can invoke a script from your currently running script, passing commands either through STDIN (you'd have to fake looking like a webserver invoked you, most likely, to make it happy), you could invoke it with arguments on the command line, or you could invoke the script by accessing via the webserver (basically making your script look like a browser client).
Perhaps a little more detail here, and we could give you some more useful help, or point you towards a better way to accomplish whatever is you're trying to do.
As a side note, having a script named 'login.pl' is questionable, at best. There are certain common names that 'cracking' programs scan for, and by naming a script 'login.pl', you're inviting it to take a closer look at you. There's about a half a dozen common names you want to avoid.
--Chris
e-mail jcwren