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
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
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
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
If i have the following:
<tag> text here </tag>
and I just want to get the text in between the tags, is it better to use regex or substring?
can't use any packages of any sort for this assignment.
Thanks.
I've been using regex but ran into a problem.
if i have:
<tag>first line of text...
If i have the following:
<tag> text here </tag>
and I just want to get the text in between the tags, is it better to use regex or substring?
can't use any packages of any sort for this assignment.
Thanks.
I've been using regex but ran into a problem.
if i have:
<tag>first line of text...
ok me and my bff have been friends for 4 or 5 years and i think she is ubsessed with me she gets mad at me when i hang out with my other friends insted of her and we tlk about her but every girl tlks about ther best friend aney ways when we talk about her she expects us to tell her wht we said...