Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • See the light as I did. If you're not using XS, h2xs is just baggage. Write a little script to do:

    cd /path/to/your/devel/dir
    mkdir Some-Module
    cd Some-Module
    mkdir -p lib/Some/
    cp /path/to/templates/ lib/Some/
    perl -i -pe 's/Module::Template/Some::Module/g;' lib/Some/
    mkdir t
    cp /path/to/templates/t/test.t t/Some-Module.t
    perl -i -pe 's/Module::Template/Some::Module/g;' t/Some-Module.t
    cp /path/to/templates/Makefile.PL
    perl -i -pe 's/Module::Template/Some::Module/g;' Makefile.PL
    perl Makefile.PL
    make manifest
    make realclean
    cvs import -m "Skeleton of Some::Module" Some-Module schwern start
    cd ..
    rm -rf Some-Module
    cvs co Some-Module