Problems? Is your data what you think it is? | |
PerlMonks |
Re: Using File::ShareDir in developmentby Anonymous Monk |
on May 07, 2019 at 22:03 UTC ( [id://1233443]=note: print w/replies, xml ) | Need Help?? |
The proper way to do this is with Test::File::ShareDir. You just need an extra line of boilerplate in your test pointing to the local directory:
Then, normal calls to File::ShareDir::dist_dir will find the local folder, before looking in your @INC directories for the installed sharedirs. -ether@cpan.org
In Section
Seekers of Perl Wisdom
|
|