----- Original Message ----

> From: Shlomi Fish <[EMAIL PROTECTED]>

> http://www.shlomifish.org/Files/files/emails/class-mop1.txt

From that link:

    t/082_get_code_info..........................1/5
    #   Failed test 'sub name is main::__ANON__'
    #   at t/082_get_code_info.t line 24.
    #     Structures begin differing at:
    #          $got->[1] = '__ANON__[t/082_get_code_info.t:31]'
    #     $expected->[1] = '__ANON__'

That's typical behavior of the debugger.  I'm not sure if Moose should fix it 
or if Devel::NYTProf should.

Try running the tests in the debugger to replicate.  If that does it, then try 
this:

  $^P &= ~0x200; # don't munger anonymous sub names

See $^P in "perldoc perlvar" for more information about controlling how the 
debugger behaves.

You'll want to run those tests verbosely under the debugger to see more about 
the other failures.  They might also be debugger related, but I can't tell in 
non-verbose mode.

Cheers,
Ovid
 --
Buy the book         - http://www.oreilly.com/catalog/perlhks/
Tech blog            - http://use.perl.org/~Ovid/journal/
Twitter              - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6

Reply via email to