Por supuesto, comprobamos que todo funciona correctamente y que las modificaciones corrigen los errores que hemos detectado:
pp2@nereida:/tmp/Algorithm-Knap01DP-0.01.new/lib/Algorithm$ perl -c Knap01DP.pm Knap01DP.pm syntax OK pp2@nereida:/tmp/Algorithm-Knap01DP-0.01.new/lib/Algorithm$ cd ../.. pp2@nereida:/tmp/Algorithm-Knap01DP-0.01.new$ make test TEST_VERBOSE=1 Skip blib/lib/Algorithm/newknap.patch (unchanged) cp lib/Algorithm/Knap01DP.pm blib/lib/Algorithm/Knap01DP.pm Skip blib/lib/Algorithm/Knap01DP.pm.original (unchanged) PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/01MartelloAndTothBook....1..12 ok 1 - use Algorithm::Knap01DP; ok 2 - ReadKnap knap21.dat ok 3 - Knap01DP knap21.dat ............................ All tests successful. Files=1, Tests=12, 0 wallclock secs ( 0.07 cusr + 0.01 csys = 0.08 CPU)
Casiano Rodríguez León