On Sun, Jun 26, 2005 at 12:57:05PM +0100, Fergal Daly wrote: > 1 the refs came from \&somefunc > 2 the refs come from evaling strings of code > 3 the refs are closures and therefore have some data associated with them > > For 3, it looks like B::Deparse does't handle the data at all so even > if the deparsed subs are identical they may behave totally > differently.
This will simply have to be a caveat. Fortunately, if B::Deparse ever gets this right we'll immediately benefit. > For 2 B::Deparse works and might be the only way but then again, it > might be better to just get access to the original string of code > before it gets compiled, If they want to compare the original string they should have put it in their data structure. Simp. -- Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern 'All anyone gets in a mirror is themselves,' she said. 'But what you gets in a good gumbo is everything.' -- "Witches Abroad" by Terry Prachett