in reply to Parse template into data structure
Here's a sneaky thought - run the template, but give it a tied hash which traps and output the key on each attempted access to a hash value. You'll still miss any hash keys which are conditionally accessed, but it should do as a good first run.
Looks like Tie::Trace might do the job nicely.
|
|---|