I have a ksh script that calls a Perl program. The Perl program creates some important data that the ksh script needs to act on. Example:
My ksh program:
#!/usr/bin/ksh
abc.pl > $logFile
# perl pgm creates variable $importantData See below.
# HOW DO I GET THE .KSH SCRIPT TO SEE $importantData ???
def.ksh $importantData # send important data to another .ksh script
exit
My Perl program:
$importantData = somefunction();
exit;