in reply to call a shell script from a perl script

Show your shell script. Does it have a shebang line (#!/bin/sh)? If so, you can probably omit the sh in the system call:
chdir "/home/lib/dirA/"; system("shell_script.sh");