Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 rifling through the Monastery: (14)
As of 2014-08-01 14:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (21 votes), past polls