Exercise: read in an ini file
Read in an ini file and create a two dimensional hash.
First dimension - section name. Second dimension - key name.
print $data{Colors}{blue}; # dark
{% embed include file="src/examples/references/data.ini)
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
Read in an ini file and create a two dimensional hash.
First dimension - section name. Second dimension - key name.
print $data{Colors}{blue}; # dark
{% embed include file="src/examples/references/data.ini)