Answer to your problem is above. If you are sending multiple parameters to an outside perl program, you may consider looking into building modules / classes or simply making an included function library. This way its easy to send and receive information and much more friendly on those that will see your code in the future.
Of course there are plenty of valid reasons to do exactly what you are asking, so this is just a hint without cause :-)