David Nicol wrote: > On 11/10/06, David Landgren <[EMAIL PROTECTED]> wrote: >> I suppose it will default to the site_perl directory if run in batch >> mode, but interactive installations allow the directory to be specified. >> OS distribution maintainers may wish to override the default (how? an >> environment variable à la PERL_G_F_P_PATH=/usr/local/share/doc/insee?) > > A non-standard installation procedure that runs the package through > a transform while installing it, allowing the path to be written into the > installed module.
What about Module::Install and File::ShareDir? If the author is OK with bundling the datafile with his module, this seems like the perfect way to do things. There's really no disadvantage to bundling data with the module, because the module won't work without the data, and the code size is probably much less than the data size. (So it's not wasteful to download the code with each data update.) Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;