Jess Robinson > Locale-Object > copy-for-test.PL

Download:
Locale-Object-0.79.tar.gz

Annotate this POD

CPAN RT

New  10
Open  4
View/Report Bugs
Source  

NAME ^

copy-for-test.PL - ensure ./Build test works

DESCRIPTION ^

The Locale::Object modules use a DBD::SQLite database of information that they consult, which is created at build time. That file needs to be in the same directory as Locale::Object::DB.

Because Module::Build won't copy non-Perl files into the blib directory when you run the tests, this script copies the DB into blib/lib/Locale/Object/ (creating those directories, if need be) when you do ./Build. That way, Locale::Object::DB will be able to find it when you do a ./Build test.

There should be no need to run this script yourself.

syntax highlighting: