Perl: the Markov chain saw | |
PerlMonks |
Re^4: Building Win32::GuiTest for perl 5.14 or higher (Bad tests!)by cavac (Parson) |
on Jun 25, 2012 at 20:22 UTC ( [id://978263]=note: print w/replies, xml ) | Need Help?? |
The author should bail out (or possibly die at Makefile.PL stage) if Win32/cygwin isn't available. Yes. And no. I myself have a few Windows- or Linux-only modules in my DarkPan repo. Mostly, they come in pairs (same external API, but completly different internals). Instead of failing to build on the "wrong" OS, they build as "hollow shells" without functionality (except to die() when new() is called. Doing it this way makes coding project that depend on a huge number of modules easier. You just pull in all your prerequisites (no fiddling around with Makefile.PL) and you can even use them (no more fiddling around with require and eval and stuff). In the main project, i then just have to decide with ones are the ones i instanciate. Of course, that's my own special bikeshed color. Yours might vary ;-)
"You have reached the Monastery. All our helpdesk monks are busy at the moment. Please press "1" to instantly donate 10 currency units for a good cause or press "2" to hang up. Or you can dial "12" to get connected directly to second level support."
In Section
Seekers of Perl Wisdom
|
|