- or download this
$ h2xs -AX Foo::Bar
- or download this
Foo/Bar/Makefile.PL
Foo/Bar/Bar.pm
...
Foo/Bar/test.pl
Foo/Bar/MANIFEST
Foo/Bar/README
- or download this
$ mv Bar Foo-Bar-0.01
- or download this
'NAME' => 'Bar'
...
'NAME' => 'Foo::Bar'
# so fix it!
- or download this
Foo-Bar-0.01/Bar.pm
Foo-Bar-0.01/Makefile.PL
...
Foo-Bar-0.01/Changes
Foo-Bar-0.01/test.pl
Foo-Bar-0.01/README
- or download this
Foo::Bar # will install in Foo/Bar.pm
Foo::Bar::Baz # will install in Foo/Bar/Baz.pm
- or download this
Foo-Bar-0.01/Bar.pm
Foo-Bar-0.01/Makefile.PL
...
# in Makefile.PL
WriteMakefile(
'NAME' => 'Foo::Bar',
- or download this
$ cd Foo-Bar-0.01
$ mkdir Bar
...
$ cd Bar
$ perl -pi.bak -e 's/Foo::Bar/Foo::Bar::Baz/g' Baz.pm
$ rm Baz.pm.bak
- or download this
module-starter --module=Foo::Bar,Foo::Bat \
--author="Andy Lester" --email=andy@petdance.com
- or download this
use Test;
BEGIN { plan tests => 42 }
...
ok( $reply eq 'some string' );
ok( scalar @reply == 42 );
ok( join '', @reply eq 'some list of stuff' );
- or download this
Foo-Bar-0.01/t/some_test.t
Foo-Bar-0.01/t/test_this.t
Foo-Bar-0.01/t/test_that.t
- or download this
$ cd Foo-Bar-0.01
$ md t
$ cp test.pl ./t/some_test.t
$ cp test.pl ./t/other_test.t
$ rm test.pl
- or download this
$ tar -czf Foo-Bar-0.01.tar.gz Foo-Bar-0.01
...
$ tar -cf Foo-Bar-0.01.tar Foo-Bar-0.01
$ gzip Foo-Bar-0.01.tar
- or download this
$ tar -xzvf Foo-Bar-0.01.tar.gz
$ cd Foo-Bar-0.01
...
$ make
$ make test
$ make install