in reply to read flat file and build tree-like structure
use Config::Properties::Simple; my $cfg = Config::Properties::Simple->new(file => '/my/file.cfg') or d +ie "unable to open config file"; my $tree = $cfg->splitToTree; [download]