Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Using File::ShareDir in development

by Anonymous Monk
on May 07, 2019 at 22:03 UTC ( [id://1233443]=note: print w/replies, xml ) Need Help??


in reply to Using File::ShareDir in development

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:
use Test::File::ShareDir -share => { -dist => { 'Name-Of-Your-Dist +ribution' => 'share/somefolder' } };
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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1233443]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2024-04-25 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found