On Mon, Jun 22, 2015 at 2:49 PM, Kent Fredric <kentfred...@gmail.com> wrote:

> TL;DR^WABSTRACT:
> - Is it safe to bundle Test::TempDir::Tiny or similar in EUMs t/tlib?
>

Stuff like this still pops up:
https://github.com/dagolden/Test-TempDir-Tiny/pull/6

I wouldn't consider it bulletproof, but it's probably better to start with
TTDT and improve it as issues are discovered than to roll-your-own.  The
race condition code is annoying but I think will 'fail safe" if the race
can't be won.

Of course, I wrote it, so getting the opinions of others is probably a good
idea.

TTDT is all core-deps, but some of them might require XS ( Not sure
> what Cwd requires ).
>
>
I'm not sure what your concern is since they are all core and there is no
version requirement for the XS bits.  The only versioned dependency is
File::Path 2.01 (for the "keep_root" option) and that only needs to be
upgraded on 5.8 perls.  TTDT tests well back to 5.8.1:
http://matrix.cpantesters.org/?dist=Test-TempDir-Tiny+0.004.

So... XS concern is an XY problem?  :-)

David

-- 
David Golden <x...@xdg.me> Twitter/IRC: @xdg

Reply via email to