glasser's Journal
http://use.perl.org/~glasser/journal/
glasser's use Perl Journalen-ususe Perl; is Copyright 1998-2006, Chris Nandor. Stories, comments, journals, and other submissions posted on use Perl; are Copyright their respective owners.2012-01-25T02:42:33+00:00pudgepudge@perl.orgTechnologyhourly11970-01-01T00:00+00:00glasser's Journalhttp://use.perl.org/images/topics/useperl.gif
http://use.perl.org/~glasser/journal/
blib hatred
http://use.perl.org/~glasser/journal/25707?from=rss
You know what I hate? blib.<br><br>You see, I almost exclusively write pure-Perl modules. Thus, the "make" step always consists of making a structure under "blib" that consists mostly of empty directories, copying all my<nobr> <wbr></nobr>.pms into "blib/lib", and manifying pods into blib/man3.<br><br>This is useless for me while developing. I don't actually care about manifying PODs until I'm ready to "make install" anyway. And copying the modules just means that sometimes blib/lib is out of date when I'm running "prove" (or even "make test", if I just made a new module and haven't reran Makefile.PL yet), and more annoyingly they show up in every grep, and have to be ignored by version control, etc.<br><br>I suppose part of my annoyance would be fixed by making a shell script that uses "prove -l" to simulate the effect of "make test" using modules from "lib" instead of "blib/lib", and just never run "make" or "make test" while developing. But still. Ugh.glasser2005-07-14T15:06:02+00:00journal