---
name: "Test::File::ShareDir::Dist"
section: "3pm"
platform: "linux"
package: "libtest-file-sharedir-perl"
version: "1.001002-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Test::File::ShareDir::Dist"
---

# Test::File::ShareDir::Dist(3pm)

Simplified dist oriented ShareDir tester

## NAME

Test::File::ShareDir::Dist - Simplified dist oriented ShareDir tester

## VERSION

version 1.001002

## SYNOPSIS

```
    use Test::File::ShareDir::Dist {
        '-root' => 'some/root/path',
        'Dist-Zilla-Plugin-Foo' => 'share/DZPF',
    };
```

`"-root"` is optional, and defaults to `"cwd"`

**NOTE:** There's a bug prior to 5.18 with `"use Foo { -key => }"`, so for backwards compatibility, make sure you either quote the key: `"use Foo { '-key' => }"`, or make it the non-first key.

## AUTHOR

Kent Fredric \<kentnl@cpan.org\>

## COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Kent Fredric \<kentnl@cpan.org\>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
