http://qs1969.pair.com?node_id=612167

aakikce has asked for the wisdom of the Perl Monks concerning the following question:

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