Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Problems Returning Different Values to Shell Script using Perl Script

by perlcapt (Pilgrim)
on Nov 10, 2004 at 02:55 UTC ( #406588=note: print w/replies, xml ) Need Help??


in reply to Problems Returning Different Values to Shell Script using Perl Script

In a shell script, you can substitute any result into any aspect of the script by enclosing the routine in backquotes. For example:
$ export IE=`myScript.pl $someShellValue $etc`
I'm not much of a csh user, but I believe it would be something like this:
% setenv IE `myScript.pl $someShellValue $etc`
I really don't understand your last statement:
But since i'm outputing to screen a menu, that text will get into setenv.
. Would you restate it with different words, please.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://406588]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2016-12-08 00:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (133 votes). Check out past polls.