in reply to How to execute commands in the same shell as Perl script
(Or ; or && or || instead |). Are you sure that this is what you want?
Alternativelly, do with perl all the shell script work