perl, how to run shell command and route the shell's echo to STDOUT

I have a shell program that 'echo' out status.

I have a perl program that calls that shell program using back-tick
`./myshellprogram.sh"

How do I route shell output to STDOUT (or anything else would be fine).
rgbcofAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
ozoConnect With a Mentor Commented:
system"./;myshellprogram.sh"
0
 
rgbcofAuthor Commented:
Ozo,

Excellent.  You had an extra semicolon in there that threw me off for a sec.  So what is the difference between "system" and back-tick?
0
 
ozoCommented:
Sorry about the typo
see
perldoc -f system
and "Quote-Like Operators" in
perldoc perlop
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.