Skip Menu |

This queue is for tickets about the MARC-Record CPAN distribution.

Report information
The Basics
Id: 2536
Status: resolved
Priority: 0/
Queue: MARC-Record

People
Owner: andy [...] petdance.com
Requestors: andy [...] petdance.com
esummers [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: warnings in MARC:File::USMARC and MARC::File::MicroLIF
With warnings properly on the test suite generates quite a few warning messages in MARC::File::USMARC and MARC::File::MicroLIF
Subject: Warnings aplenty in the test suite
Now that Test::Harness 2.28 passes -w properly, many tests in the test suite throw warnings. PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00.load..........ok t/01.version.......ok t/10.camel.........ok t/11.astring.......ok t/20.clone.........ok t/50.batch.........ok 26/268Use of uninitialized value in substitution (s///) at /home/ alester/marc-record/blib/lib/MARC/File/MicroLIF.pm line 186. t/50.batch.........ok 226/268Use of uninitialized value in substitution (s///) at /home/ alester/marc-record/blib/lib/MARC/File/MicroLIF.pm line 186. t/50.batch.........ok 266/268Use of uninitialized value in substitution (s///) at /home/ alester/marc-record/blib/lib/MARC/File/MicroLIF.pm line 186. t/50.batch.........ok t/60.insert........ok t/60.update........ok t/61.append........ok t/61.replace.......ok t/62.before........ok t/63.after.........ok t/64.create........ok t/66.grouped.......ok t/70.croak.........ok t/75.warnings......ok 4/17Use of uninitialized value in integer eq (==) at /home/alester/ marc-record/blib/lib/MARC/File/USMARC.pm line 136. Use of uninitialized value in concatenation (.) or string at /home/alester/marc-record/ blib/lib/MARC/File/USMARC.pm line 136. substr outside of string at /home/alester/marc-record/blib/lib/MARC/File/USMARC.pm line 145. Use of uninitialized value in integer addition (+) at /home/alester/marc-record/blib/lib/ MARC/File/USMARC.pm line 145. substr outside of string at /home/alester/marc-record/blib/lib/MARC/File/USMARC.pm line 149. t/75.warnings......ok 8/17Use of uninitialized value in integer eq (==) at /home/alester/ marc-record/blib/lib/MARC/File/USMARC.pm line 136. t/75.warnings......ok 9/17Use of uninitialized value in concatenation (.) or string at / home/alester/marc-record/blib/lib/MARC/File/USMARC.pm line 136. substr outside of string at /home/alester/marc-record/blib/lib/MARC/File/USMARC.pm line 145. Use of uninitialized value in integer addition (+) at /home/alester/marc-record/blib/lib/ MARC/File/USMARC.pm line 145. substr outside of string at /home/alester/marc-record/blib/lib/MARC/File/USMARC.pm line 149. t/75.warnings......ok 14/17Use of uninitialized value in integer eq (==) at /home/ alester/marc-record/blib/lib/MARC/File/USMARC.pm line 136. Use of uninitialized value in concatenation (.) or string at /home/alester/marc-record/ blib/lib/MARC/File/USMARC.pm line 136. substr outside of string at /home/alester/marc-record/blib/lib/MARC/File/USMARC.pm line 145. Use of uninitialized value in integer addition (+) at /home/alester/marc-record/blib/lib/ MARC/File/USMARC.pm line 145. substr outside of string at /home/alester/marc-record/blib/lib/MARC/File/USMARC.pm line 149. t/75.warnings......ok t/80.alphatag......ok t/81.decode........ok t/99.pod...........ok t/convenience......ok t/decode-filter....ok t/file-filter......ok t/file-header......ok t/filler...........ok t/lineendings......ok t/title_proper.....ok 1/14Name "MARC::File::Error" used only once: possible typo at t/ title_proper.t line 29. t/title_proper.....ok All tests successful. Files=26, Tests=613, 1 wallclock secs ( 1.43 cusr + 0.12 csys = 1.55 CPU)
Fixed in 1.26.