in reply to Re: CSH script that calls a perl script
in thread CSH script that calls a perl script
Hi,
just an addition to that what ig said: Let the perl script generate shell variable assignments like SOME=thing, capture the output of the perl script and evaluate it in the context of the csh script. Than you have the return values in the variables of the csh script. But be careful with variable interpolation, shell meta characters and all that stuff.
But the core of the idea is: Generate something which can be directly interpreted with csh. A kind of serialize to something that can be deserialized by csh.
Best regards
McA
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: CSH script that calls a perl script
by MidLifeXis (Monsignor) on Oct 17, 2012 at 12:21 UTC |
In Section
Seekers of Perl Wisdom