Re: Re: is_deeply() and code refs

2005-06-26 Thread Michael G Schwern
On Mon, Jun 27, 2005 at 11:36:13AM +1000, [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

Re: Re: is_deeply() and code refs

2005-06-26 Thread leif . eriksen
[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