Sending values back to calling program

Joined
Jun 9, 2010
Messages
1
Reaction score
0
Hi

I have two perl scripts .Script A and Script B.

Script A is main program and Script B is called within it. During the Script B execution, I need to return some values back to Script A.

I am not able how can i do that.

Any help please.

To be more specific:

1.pl

### do some task####

call 2.pl. using system or within backticks

work on the value returned from 2.pl

#####

Inside 2.pl

do some opertaions

return the value to main program i:e 1.pl
 
Last edited:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top