Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • How can a module that's unable to say what it actually does ever have a bug?

    YAML::Tiny is a misnomer and should be abandoned unless it is intending to become compliant to the YAML spec.

    Did you ever answer http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2007-06/msg00783.html [mpe.mpg.de]
    ?
    • Perl doesn't have a formal spec, either, yet it seems to acquire its fair share of bugs :).

      YAML::Tiny has a perfectly decent (informal, implicit) spec:

      1. if write_string is passed any Perl data structure consisting only of unmagical scalars, arrays and hashes, produce a spec-compliant YAML document representing it which can be parsed by YAML::Tiny or any more complete YAML parser;
      2. if write_string is passed any other Perl data structure, report an error saying so;
      3. if read_string is passed any spec-compl