Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 wandering the Monastery: (5)
As of 2016-02-12 01:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (386 votes), past polls