Skip Menu |

This queue is for tickets about the YAML-Tiny CPAN distribution.

Report information
The Basics
Id: 30376
Status: resolved
Priority: 0/
Queue: YAML-Tiny

People
Owner: Nobody in particular
Requestors: SAPER [...] cpan.org
Cc:
AdminCc:

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



Subject: Module::Install prevents YAML::Tiny from workong on 5.004
Hello, Once again, Module::Install is the problem and not the solution: maddingue@fangorn:~/YAML-Tiny-1.16 $ /usr/local/perl/5.4.5/bin/perl Makefile.PL.MI Modification of a read-only value attempted at Makefile.PL.MI line 30. Replacing the M::I Makfile.PL with a standard EU::MM Makefile.PL, and removing the "use 5.005" from lib/YAML/Tiny.pm allows the module to work on 5.004: maddingue@fangorn:~/YAML-Tiny-1.16 $ make test PERL_DL_NONLAZY=1 /usr/local/perl/5.4.5/bin/perl -I./blib/arch -I./blib/lib -I/usr/local/perl/5.4.5/lib/i686-linux/5.00405 -I/usr/local/perl/5.4.5/lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/01_compile.......ok t/02_basic.........ok 510/780 skipped: various reasons t/03_regression....ok 305/468 skipped: various reasons t/11_meta_yml......ok 136/216 skipped: various reasons t/12_plagger.......ok 34/52 skipped: various reasons t/13_perl_smith....ok 17/30 skipped: various reasons t/14_yaml_org......ok 17/30 skipped: various reasons t/15_multibyte.....ok t/16_nullrefs......ok 17/26 skipped: various reasons t/98_pod...........skipped all skipped: Author tests not required for installation t/99_pmv...........skipped all skipped: Author tests not required for installation All tests successful, 2 tests and 1036 subtests skipped. Files=11, Tests=1613, 1 wallclock secs ( 0.71 cusr + 0.12 csys = 0.83 CPU) Makefile.PL: use strict; use ExtUtils::MakeMaker; WriteMakefile( NAME => 'YAML::Tiny', LICENSE => 'perl', VERSION_FROM => 'lib/YAML/Tiny.pm', ABSTRACT_FROM => 'lib/YAML/Tiny.pm', PREREQ_PM => { 'Test::More' => 0, }, PL_FILES => {}, dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz' }, clean => { FILES => 'YAML-Tiny-*' }, ); __END__ patch for the eodule: --- lib/YAML/Tiny.pm.old 2007-10-30 23:39:30.854717500 +0100 +++ lib/YAML/Tiny.pm 2007-10-30 23:42:25.536575473 +0100 @@ -1,6 +1,6 @@ package YAML::Tiny; -use 5.005; +use 5.004; use strict; use vars qw{$VERSION @ISA @EXPORT_OK $errstr}; -- Close the world, txEn eht nepO.
Converted to plain ExtUtils::MakeMaker, resolved.