sub=salami mayo=yes tuna=fish topping=$sub mustard=no
In this example, $config{'topping'} is set to "salami", not "$sub". The only advice I have for the script is to move the chomp until after the "next"s as there is no need to chomp lines you are bypassing. Other than that, a very nice little script.
In reply to RE: Config file parser
by turnstep
in thread Config file parser
by ishamael
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |