In this case it's not even valid code. I'm wondering if there's a more robust approach, perhaps using B::Deparse or the like? Granted, that will probably be an order of magnitude more work, and it would really deserve a CPAN home. (And I'm probably not the one to do it =)