in reply to executing a perl script into another perl script
Your question is rather ambiguous. Perhaps you mean require?
Otherwise... when you “execute a script | program,” no matter how exactly you do it (see above), it usually does not matter what programming language that script | program was written in. The OS simply forks a shell to run the command, resolving the command in whatever is that OS’s usual way.
Unfortunately, your comment about “in the background” can also mean one of several different things.