in reply to Auto-compile checking??? WTF?
I solve this problem by writing unit tests. I start a Perl project with Module::Starter which provides the basis for your unit tests.
In my opinion, this is far better than a mere perl -c because you now have a framework with which to add finer grain tests for your code. Replace watch with a service like Jenkins or https://travis-ci.org and increase your available options.jeffa@jeffa:~/code$ module-starter --module=Foo::Bar --author=me --ema +il=me@here.com Added to MANIFEST: Changes Added to MANIFEST: ignore.txt Added to MANIFEST: lib/Foo/Bar.pm Added to MANIFEST: Makefile.PL Added to MANIFEST: MANIFEST Added to MANIFEST: README Added to MANIFEST: t/00-load.t Added to MANIFEST: t/manifest.t Added to MANIFEST: t/pod-coverage.t Added to MANIFEST: t/pod.t Added to MANIFEST: xt/boilerplate.t Created starter directories and files jeffa@jeffa:~/code$ pushd Foo-Bar/ ~/code/Foo-Bar ~/code jeffa@jeffa:~/code/Foo-Bar$ prove -lr ./t/00-load.t ....... 1/? # Testing Foo::Bar 0.01, Perl 5.022001 ./t/00-load.t ....... ok ./t/manifest.t ...... skipped: Author tests not required for installat +ion ./t/pod-coverage.t .. skipped: Author tests not required for installat +ion ./t/pod.t ........... skipped: Author tests not required for installat +ion ./xt/boilerplate.t .. ok All tests successful. Files=5, Tests=4, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.02 cusr + 0.01 csys = 0.06 CPU) Result: PASS
For what it is worth, i have been using vim exclusively for over 15 years now. Good quality, maintained unit tests are more valuable to me than an IDE (and i honestly consider IDEs to be crutches).
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Auto-compile checking??? WTF?
by nysus (Parson) on Apr 15, 2016 at 18:34 UTC | |
by stevieb (Canon) on Apr 16, 2016 at 11:27 UTC | |
by nysus (Parson) on Apr 16, 2016 at 11:40 UTC | |
by stevieb (Canon) on Apr 16, 2016 at 11:49 UTC | |
by afoken (Chancellor) on Apr 16, 2016 at 19:48 UTC | |
by jeffa (Bishop) on Apr 15, 2016 at 19:07 UTC | |
by LanX (Saint) on Apr 16, 2016 at 12:06 UTC | |
by Anonymous Monk on Apr 16, 2016 at 23:29 UTC |