Re: Prove cut'n'paste

2007-09-05 Thread Andy Armstrong
On 5 Sep 2007, at 16:31, Andy Lester wrote: eval 'exec /usr/bin/perl -w -S $0 ${1+"$@"}' if 0;# not running under some shell should not be in the distro. Those get put in at "make install" time. Fixed as 420, thanks. -- Andy Armstrong, hexten.net

Prove cut'n'paste

2007-09-05 Thread Andy Lester
http://search.cpan.org/src/ANDYA/Test-Harness-2.99_01/bin/prove The two lines at the top eval 'exec /usr/bin/perl -w -S $0 ${1+"$@"}' if 0;# not running under some shell should not be in the distro. Those get put in at "make install" time. xoa -- Andy Lester => [EMAIL PROTECTED] => ww

Re: Test::Deep without the Test part?

2007-09-05 Thread Fergal Daly
On 05/09/07, Gabor Szabo <[EMAIL PROTECTED]> wrote: > I would like to compare data structure in some non-test code. > Test::Deep seems to give all the features I need, except that it is > integrated with > the testing framework. use Test::Deep::NoTest; print "equal" if eq_deeply($a, $b); but it's

Re: Test::Deep without the Test part?

2007-09-05 Thread Dominique Quatravaux
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gabor Szabo a écrit : > what else should I use to compare two deep data structures? Data::Compare. - -- << Tout n'y est pas parfait, mais on y honore certainement les jardiniers >> Dominique Quatravaux <[EMAIL PROTECTED]> -BEGIN PGP

Re: Test::Deep without the Test part?

2007-09-05 Thread demerphq
On 9/5/07, Gabor Szabo <[EMAIL PROTECTED]> wrote: > I would like to compare data structure in some non-test code. > Test::Deep seems to give all the features I need, except that it is > integrated with > the testing framework. > > How could I use that or what else should I use to compare two deep >

Test::Deep without the Test part?

2007-09-05 Thread Gabor Szabo
I would like to compare data structure in some non-test code. Test::Deep seems to give all the features I need, except that it is integrated with the testing framework. How could I use that or what else should I use to compare two deep data structures? Gabor