in reply to Eval line count with mod_perl

the line count of the program appears to increase whenever the program calls die()

No, the eval count increases whenever eval EXPR is called.

Keep in mind that
s/.../$1/gee
is a shortcut for
s/.../eval $1/ge