Perl - sending info as STDIN to another program? Pipe?

I have a program A that accepts data from STDIN. I am executing this program within a program B, using back-quotes: such as:

print `A.pl`;

The problem is is sending A the input. Is there a way I can pipe the input into A within program B? I don't want to do it in the terminal if possible.

Thanks
 
Back
Top