[EMAIL PROTECTED] wrote:

Another way to look at the "eval" case is to apply it to other references.

        is_deeply( eval "{ foo => 42, bar => 23 }",
                   { "bar", 42, "foo", 23 } );

Even though the code is written differently the resulting data is the same. Would anyone be in doubt that it should pass?

I'm guessing that is_deeply tests for 'semantic equivalence', not 'syntactic equivalence' - or is that a whole unopen can of worms?

--
Leif Eriksen
Snr Developer
http://www.hpa.com.au/
phone: +61 3 9217 5545
email: [EMAIL PROTECTED]

Reply via email to