in reply to modify ksh variable in perl
To set an array variable, you can use:result=$(perl -e ...)
Update: For your specific case, this might work well enough:set -A arrayvar $(perl -e ...)
set -A result $(echo $string | sed -e 's/;/ /g')
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: modify ksh variable in perl
by apl (Monsignor) on Apr 17, 2008 at 16:56 UTC |