Perl: the Markov chain saw | |
PerlMonks |
Re: Test::More is_deeply and binary databy tobyink (Canon) |
on Nov 08, 2013 at 22:54 UTC ( [id://1061789]=note: print w/replies, xml ) | Need Help?? |
This should do the trick:
It will pass all Test::More's output via Unicode::Debug, but only if Unicode::Debug is installed. (Note that Unicode::Debug currently outputs some warning messages under Perl 5.18.x. I really need to fix that.) Update: Unicode::Debug 0.002 fixes these warnings, and includes the above example.
use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|