perl - How do I create a multi-module distribution? -


i want create own perl module, problem contain multiple .pm files. structure is:

lib ├── a_z.pm └── t_test     ├── a.pm     ├── b.pm     ├── c.pm     ├── d.pm     └── e.pm 

i used h2xs -xa -n t_test::a t_test::b t_test::c t_test::d t_test::e. compiled a.pm; other b.pm, c.pm, d.pm, e.pm not considered. there solution execute .pm file @ same time?

use module::starter::pbp instead.

$ module-starter --builder=module::build --module=a_z,t_test::{a,b,c,d,e} added manifest: build.pl added manifest: changes added manifest: lib/a_z.pm added manifest: lib/t_test/a.pm added manifest: lib/t_test/b.pm added manifest: lib/t_test/c.pm added manifest: lib/t_test/d.pm added manifest: lib/t_test/e.pm added manifest: manifest added manifest: readme added manifest: t/00.load.t created starter directories , files  $ tree a_z a_z ├── build.pl ├── changes ├── lib │   ├── a_z.pm │   └── t_test │       ├── a.pm │       ├── b.pm │       ├── c.pm │       ├── d.pm │       └── e.pm ├── manifest ├── readme └── t     └── 00.load.t 3 directories, 11 files 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -