http://www.perlmonks.org?node_id=991087


in reply to Re: How to do perl -c inside perl? (op-hook)
in thread How to do perl -c inside perl?

Something along these lines but perhaps simpler has been noted here.

And as I commented there, I'll be experimenting with these ideas — this wasn't just idle curiosity. The very specific places I would use this are noted in 990598. I'll report back what eventually works.

Heartfelt thanks to all who have made suggestions.