Hi Monks,
i am facing a problem in assigning an array into hash.
i have a ini file like
article=>art chapter=>chap section=>sec
My code to access the values in the ini file
open (INI, "<ReNLM.ini") || "error ini file"; while (<INI>) { chomp($_); $con[$i] = $_; $i++ } $" = ", "; %conval = qw(@con); print $conval{article};
i didn't get outpupt
thanks
Aakikce
In reply to assign an array into hash by aakikce
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |