You could write your variables into a file and evaluate the file afterwards.
Or if you don't need the stdout of your program for an other purpose, write to stdout the value of the variable in the syntax of shell assignment, and use "eval" on the output of your Perl program, i.e. something like
eval `perl .....`
In reply to Re: pass perl variable to shell script
by rovf
in thread pass perl variable to shell script
by arthurs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |