On 5/30/06, Andrew Gianni <[EMAIL PROTECTED]> wrote:
The trick is what does "equal" mean for code refs?If you want to test that the code refs are functionally equivalent, call them with various arguments and test the results. If you want to test that the code the code refs refer to is equivalent use something like Data::Dump::Streamer which can deparse a closure back to its original code and values. Compare the dumped output.
Why not compare signatures? Is that not feasible?