in reply to values from perl to sh script

Is it possible to replace the functionality of the shell script and the child perl script with a single piece of perl? Unless the shell script is huge or can't be replaced, I'd probably take this route.