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.
Thanks in adavance.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Returning from a program
by twerq (Deacon) on Aug 12, 2002 at 13:53 UTC | |
Re: Returning from a program
by Tomte (Priest) on Aug 12, 2002 at 14:03 UTC | |
Re: Returning from a program
by BrowserUk (Patriarch) on Aug 12, 2002 at 16:59 UTC | |
Re: Returning from a program
by fuzzyping (Chaplain) on Aug 12, 2002 at 13:55 UTC | |
Re: Returning from a program
by ColtsFoot (Chaplain) on Aug 12, 2002 at 13:55 UTC | |
Re: Returning from a program
by peschkaj (Pilgrim) on Aug 12, 2002 at 14:32 UTC | |
Re: Returning from a program
by graff (Chancellor) on Aug 12, 2002 at 21:28 UTC | |
Returning from a program
by atopolc (Pilgrim) on Aug 12, 2002 at 16:51 UTC |
Back to
Seekers of Perl Wisdom