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.
  • Functional equivalence could probably be determined by parsing the different SQL then analyzing the two parsed structures using various heuristics.

    I use a similar technigue with Test::PDF [cpan.org] to do a basic test for "visual" similarity, by using Test::Deep to compare the data-structures CAM::PDF produces after it parses the PDF file.

    Just a thought :)

    - Stevan

    • Maybe one of the deep-structure equivalence testing methods could be called after parsing both with SQL::Statement.

      --
      J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers