--- Eric Wilhelm <[EMAIL PROTECTED]> wrote: > # from Ovid > # on Saturday 01 September 2007 10:36 am: > > >> As Test::More cannot have any dependencies, I'd rather incorporate > >> TAP diagnostic functionality directly into Test::Builder. > Besides, > >> spitting out some YAML isn't hard. > > > >It turns out to be a fair bit harder than it appears to be on the > >surface. For example: > > > > my $data = 3; > > my $data = "3"; > > YAML::Tiny?
Except that we cribbed much of our YAML code from YAML tiny and it gets this wrong, too: $ perl -MYAML::Tiny=Dump -le 'print Dump([3,"3"])' --- - 3 - 3 I'll file a bug report. > >(A bit of XS makes this simple, but we can't rely on people > >having a compiler). > > You could bundle something that "mostly works" and switch to the > "real > deal" (whatever you decide that is) if it is available. That can get really nasty, but in this case, maybe there's not much of a choice. Cheers, Ovid -- Buy the book - http://www.oreilly.com/catalog/perlhks/ Perl and CGI - http://users.easystreet.com/ovid/cgi_course/ Personal blog - http://publius-ovidius.livejournal.com/ Tech blog - http://use.perl.org/~Ovid/journal/