[Solved] Parse INI in Perl (list format)
You haven’t told us the expected format for the data or shown any existing code, so it’s impossible to know what you’re looking for, but this should get you at least 90% of the way there: use strict; use warnings; use Data::Dumper; my %config; my $group = ”; while (<DATA>) { chomp; next unless /\S/; … Read more