but I dont know hoe to create an array with $val as name. "@$val" doesn't seems right. Any help would be appreciated.foreach $val(@array){ here I need to create an array with the name of $val like the below @$val = connection to database($val) which returns an array }
In reply to naming array from a scalar by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |