April CPR 2015 HTML::FormFu::DBIx::Model

This month's assigment is HTML::FormFu::DBIx::Model.
After my experience in March, where the cpan and github repos had differences I decided to clone the github repository and download and build the module via the interactive command cpan.
The github fork and clone went without a hitch but I found trouble with the cpan plan fairly early on.

I set debug all to see if I could understand what was happening. The results are quite verbose and I'm a complete beginner at this but here are extracts from the redirected output file.

Here's my get command starting off:

Debug(Shell,Shell.pm,1684,[Shell,Shell.pm,2063,rematein]): pragma[]meth[get]some[HTML::FormFu::Model::DBIC]
...
Debug(Shell,Shell.pm,1314,[Shell,Shell.pm,1304,expand]): type[Module]args[HTML::FormFu::Model::DBIC]

and some lines later the first dependency:

Debug(Shell,Shell.pm,1314,[Distribution,Distribution.pm,223,expand]): type[Module]args[HTML::FormFu]

The first pragma - 'use strict;' looks like this

Debug(Shell,Shell.pm,1314,[Distribution,Distribution.pm,223,expand]): type[Module]args[strict]

and the dependency list grows :

Debug(Distribution,Distribution.pm,203,[Module,Module.pm,111,color_cmd_tmps]): color_cmd_tmps[9,1,HTML::FormFu::Model::DBIC C/CF/CFRANKS/HTML-FormFu-Model -DBIC-2.00.tar.gz HTML::FormFu C/CF/CFRANKS/HTML-FormFu-2.01.tar.gz DateTime::Format::Builder D/DR/DROLSKY/DateTime-Format-Builder-0.81.tar.gz Params::Validate D/DR/DROLSKY/Params-Validate-1.18.tar.gz strict]


However the next time the dependency list is mentioned there's no sign of strict and the (already installed) Carp module is listed instead.

Debug(Distribution,Distribution.pm,203,[Module,Module.pm,111,color_cmd_tmps]): color_cmd_tmps[9,1,HTML::FormFu::Model::DBIC C/CF/CFRANKS/HTML-FormFu-Model -DBIC-2.00.tar.gz HTML::FormFu C/CF/CFRANKS/HTML-FormFu-2.01.tar.gz DateTime::Format::Builder D/DR/DROLSKY/DateTime-Format-Builder-0.81.tar.gz Params::Validate D/DR/DROLSKY/Params-Validate-1.18.tar.gz Carp]

The color_cmd_tmps data structure only retains the names of uninstalled modules - the next one to appear (surprisingly) is File::Temp

Debug(Distribution,Distribution.pm,203,[Module,Module.pm,111,color_cmd_tmps]): color_cmd_tmps[11,1,HTML::FormFu::Model::DBIC C/CF/CFRANKS/HTML-FormFu-Model-DBIC-2.00.tar.gz HTML::FormFu C/CF/CFRANKS/HTML-FormFu-2.01.tar.gz DateTime::Format::Builder D/DR/DROLSKY/DateTime-Format-Builder-0.81.tar.gz Params::Validate D/DR/DROLSKY/Params-Validate-1.18.tar.gz File::Temp D/DA/DAGOLDEN/File-Temp-0.2304.tar.gz File::Spec::Functions]

but that disappears after processing File::Spec:Functions.

Later, the warnings::register pragma shows up

Debug(Distribution,Distribution.pm,203,[Module,Module.pm,111,color_cmd_tmps]): color_cmd_tmps[9,1,HTML::FormFu::Model::DBIC C/CF/CFRANKS/HTML-FormFu-Model-DBIC-2.00.tar.gz HTML::FormFu C/CF/CFRANKS/HTML-FormFu-2.01.tar.gz DateTime::Format::Builder D/DR/DROLSKY/DateTime-Format-Builder-0.81.tar.gz DateTime D/DR/DROLSKY/DateTime-1.18.tar.gz warnings::register]


While attempting to satisfy the DateTime dependencies this occurs:

Debug(Shell,Shell.pm,1314,[Distribution,Distribution.pm,223,expand]): type[Module]args[integer]
Debug(Shell,Shell.pm,1339,[Shell,Shell.pm,1321,expand_by_method]): class[CPAN::Module]regex[UNDEFINED]command[UNDEFINED]
Debug(Shell,Shell.pm,1420,[Shell,Shell.pm,1321,expand_by_method]): class[CPAN::Module]wantarray[]count m[0]
prerequisite module[integer] not known

DateTime, DateTime::Locale and Data::Page all use the integer pragma but my system seems not to understand it - despite integer.pm and integer.pod existing in my /usr/share/perl/5.18 directory alongside strict.pm, strict.pod, warnings/register.pm and warnings/register.pod with the same permissions and ownership.

The simple test code:
#!/usr/bin/perl
use Modern::Perl;
use integer;
say "This is a test";< br/> say 4/3;
exit;

provides the expected output:
This is a test
1

It may take some time to understand what's occurring....