It can not. This is a feature of processes in the unix model. What you can do however, is have the perl program output the results and assign that to your environment variable:
#!/bin/ksh MYVAR=`perlprogram`
In reply to Re: exporting environment variable to KSH
by duff
in thread exporting environment variable to KSH
by ramthen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |