in reply to Re^2: Assigning value to the array elements
in thread Assigning value to the array elements
But i want to assign those values to some scalar variables which i will use in my program later for another use. If there is any alternative please suggestChange the rest of the program so it doesn't expect the values to appear in scalar variables. Really. Your code will be much easier to understand if it says this:
rather than just blithely saying the second line and leaving the poor reader to figure out how $first got its value.my $first = $config_values{first}; open my $file, $first;
|
|---|