Perl-Sensitive Sunglasses | |
PerlMonks |
Problems Returning Different Values to Shell Script using Perl Scriptby EchoAngel (Pilgrim) |
on Nov 09, 2004 at 23:39 UTC ( [id://406562]=perlquestion: print w/replies, xml ) | Need Help?? |
EchoAngel has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks
I have this example.
Within a shell script, asdf.sh, I do `setenv script.pl`;
Inside the script.pl, it will print out a menu and list options for users to enter and etc. I want to return back to the shell script the variable and data so I can set up the tools. IE setenv PEOPLE 321-23. But since i'm outputing to screen a menu, that text will get into setenv.
Any help?
Back to
Seekers of Perl Wisdom
|
|