in reply to Re: Is it possible to determine the eval block accumulator?
in thread Is it possible to determine the eval block accumulator?

Bingo Abigail, your answer is exactly what I was looking for! :)

Now, to try and coerce this to work with mod_perl! :}


For everyone else, what I am doing is parsing code snippets from multiple files, doing some regexp magic on the code snippets to replace special markup with legal perl and then creating an anonymous subroutine from the code, eval'ing it into a code reference and storing that coderef in a hash for later execution.

Thanks to everyone for all your help and suggestions, especially Abigail for this solution! :)
  • Comment on Re: Re: Is it possible to determine the eval block accumulator?