Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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.


Comment on Re: Problems Returning Different Values to Shell Script using Perl Script
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://406588]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (13)
As of 2014-09-17 13:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (81 votes), past polls