http://qs321.pair.com?node_id=189484

peschkaj has asked for the wisdom of the Perl Monks concerning the following question:

Is it possible to return a value from a program to another calling program? I have some code that will be run as a menu from a kshell. I would like to return a value from the perl to the kshell for the kshell to listen for and then execute accordingly. Obviously, I can't use return() since I'm not doing this from inside a sub, eval, or do.

Thanks in adavance.