--- Begin Message ---
Andy Bach schreef op wo 26-02-2020 om 15:30 [-0600]:
> Huh. Seems the docs would say the opposite
Yes indeed, the docs do say so.
But you should try my exampl.pl to find out that it fails to do so when
there is only one block.
And I have no clue on how to get the desired r
Huh. Seems the docs would say the opposite
save_file()
Writes the config hash back to the hard disk. This method takes one
or
two parameters. The first parameter must be the filename where the
config should be written to. The second parameter is optional, it
must
Hi,
This is my exmple.pl
#!/usr/bin/perl -w
use strict;
use Config::General;
my $datafilename = 'example.conf';
my %confighash;
my $config = \%confighash;
$config->{client}->{Bob}->{city} = 'Brussels';
$config->{client}->{Jane}->{city} = 'Antwerp';
my $datafile = Config::General->new;
$datafil