Not really tested, but you get the idea... echo $b in the script will echo 2, very handyfoo.pl #!perl %foo = (a => 1, b => 2); for(keys %foo) { print "$_=$foo{$_}\n"; }
In reply to Re: values from perl to sh script
by suaveant
in thread values from perl to sh script
by wpeterma
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |