Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.
I have an idea for a one day class that I want to teach, so I sat down to write the sample code for it.
h2xs -AX -n Homepage::Manager
cd Homepage/Manager
rm t/1.t
cp ~/projects/common/t/base.t t/manager.t
cp ~/projects/common/t/grind t/
cp ~/projects/common/reload
Then, I have to go in and do some standard editing to the basic test script, MANIFEST and Makefile.PL. In other words, after using h2xs to create my stub module, there are several tasks that I perform every time I start a project. While I've already hacked h2xs to use my email address and basic POD standards, when I get home tonight, I'm going to hack it to always set up my development environment just the way I like it. I'm tired of spending an extra ten minutes customizing things every time. Why didn't I think of this before?
NEVER BEGIN WITH H2XS! (Score:2)
cd
mkdir Some-Module
cd Some-Module
mkdir -p lib/Some/
cp
perl -i -pe 's/Module::Template/Some::Module/g;' lib/Some/Module.pm
mkdir t
cp
perl -i -pe 's/Module::Template/Some::Module/g;' t/Some-Module.t
cp
perl -i -pe 's/Module::Template/Some::Module/g;' Makefile.PL
perl Make
Re:NEVER BEGIN WITH H2XS! (Score:2)
Re:NEVER BEGIN WITH H2XS! (Score:2)
Re:NEVER BEGIN WITH H2XS! (Score:2)
Re:NEVER BEGIN WITH H2XS! (Score:2)
That is so much cleaner and more maintainable. Thanks!