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

> seems the code uses nested named subs.

I was baffled at first, but you're right, the OP wasn't using proper indentation.

Worth noting that "newer" Perl versions have lexical subs via my sub name {...} constructs.

See perlsub#Lexical-Subroutines

Personally I'm still stuck to my $code_ref = sub {...} approaches.

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery