Solution: save ini and csv as YAML
Just add the following code:
use YAML qw(DumFile);
DumpFile 'ini.yml', \@data; # in read_csv_file_hash.pl
DumpFile 'ini.yml', \%ini; # in read_ini_file.pl
DumpFile 'csv.yml', \%data; # in read_csv_file_hash.pl
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Just add the following code:
use YAML qw(DumFile);
DumpFile 'ini.yml', \@data; # in read_csv_file_hash.pl
DumpFile 'ini.yml', \%ini; # in read_ini_file.pl
DumpFile 'csv.yml', \%data; # in read_csv_file_hash.pl