Subject: | Use of File::ShareDir doesn't work before bundle is installed |
I'm making a new bundle that uses this plugin to generate a CONTRIBUTING.md. I've never installed this bundle yet, so it has no share dir in @INC. This means that when I try to "dzil build" the bundle using the bundle itself, it can't find the share dir and croaks.
The only way I can think of to fix this is to special case when the dist being built is the same as the dist from which the file comes, and to not use File::ShareDir in that case. I could make a patch for that.