I lack the knowledge on how to resolve a certain problem, if you could even call it a problem... I am helping a friend of mine with some tasks, and short of making a text file and putting in data there, is there any way for me to return data to his program?
Essentially what I need to happen is my friend calls my script with some args, and based on those args, I will get data and print it to console. But is there a way for me to return the actual data to his programvia scalar/array/hash? Will he need to declare a variable that I can fill with data?
Any insight would be awesome! thanks for reading.EDIT: To add more to this, and just incase there are any questions about this, my friend has a program (exe) on windows. He is using my script for some added functionality. As it stands right now, I output my data to console and he picks it up from there, no problem. What i want to know is, Are there any other ways for my script to return data to his program so i wouldnt need to print to cmd.
In reply to Returning data to parent program by james28909
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |