If you read the question closely, what the person wants is
a call-stack. The die is happening from read_file. But
that information is useless because everything has to read
files. What you really want to know is where you were 2
calls back, in parse_template. For that you really wanted
to use Carp's confess.