Nos cambiamos al directorio:
$ cd PL-Tutu/ $ ls -l total 24 -rw-r--r-- 1 lhp lhp 154 Nov 3 12:59 Changes -rw-r--r-- 1 lhp lhp 63 Nov 3 12:59 MANIFEST -rw-r--r-- 1 lhp lhp 552 Nov 3 12:59 Makefile.PL -rw-r--r-- 1 lhp lhp 1196 Nov 3 12:59 README drwxr-xr-x 3 lhp lhp 4096 Nov 3 12:59 lib drwxr-xr-x 2 lhp lhp 4096 Nov 3 12:59 t $ perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for PL::Tutu $ ls -ltr total 44 drwxr-xr-x 2 lhp lhp 4096 Nov 3 12:59 t drwxr-xr-x 3 lhp lhp 4096 Nov 3 12:59 lib -rw-r--r-- 1 lhp lhp 1196 Nov 3 12:59 README -rw-r--r-- 1 lhp lhp 552 Nov 3 12:59 Makefile.PL -rw-r--r-- 1 lhp lhp 63 Nov 3 12:59 MANIFEST -rw-r--r-- 1 lhp lhp 154 Nov 3 12:59 Changes -rw-r--r-- 1 lhp lhp 19471 Nov 3 13:03 MakefileAhora podemos ejecutar el primer test:
$ make test
cp lib/PL/Tutu.pm blib/lib/PL/Tutu.pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" \
"-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/PL-Tutu....ok
All tests successful.
Files=1, Tests=1, 0 wallclock secs ( 0.04 cusr + 0.02 csys = 0.06 CPU)
Observe que, como consecuencia de esta primera ejecución se han creado nuevos directorios:
$ tree
.
|-- Changes
|-- MANIFEST
|-- Makefile
|-- Makefile.PL
|-- README
|-- blib
| |-- arch
| | `-- auto
| | `-- PL
| | `-- Tutu
| |-- lib
| | |-- PL
| | | `-- Tutu.pm
| | `-- auto
| | `-- PL
| | `-- Tutu
| `-- man3
|-- lib
| `-- PL
| `-- Tutu.pm
|-- pm_to_blib
`-- t
`-- PL-Tutu.t
14 directories, 9 files
Casiano Rodríguez León
