in reply to Re^2: parse lisp style config
in thread parse lisp style config

How would your configuration file represent a hash with only one element whose key is 0?


🦛

Replies are listed 'Best First'.
Re^4: parse lisp style config
by vincentaxhe (Scribe) on Nov 27, 2024 at 12:10 UTC
    that's rare, I'm not meant to make it a new all rounded config format, But with '0' ,it is interpreted as string key. It will not deal multi line or escaped something. Just notice single quote mark and content should never contain single quote mark.Or just never contain any space, get the parse to array and hash ref right first.