Shlomi Fish wrote:
> $builder->add_build_element('extradata');
> $builder->install_path->{'extradata'} = $builder->prefix() .
> "/data/modules/XML-Grammar-Products-Syndication/data";
Don't use prefix(), it's there for MakeMaker compatibility. Use install_base().
And you're going to want to use
# from Shlomi Fish
# on Friday 27 February 2009 06:42:
> extradata_files =>
> {
> map { $_ => $_ } @extradata_files,
> },
map {$_ => "lib/XML-Grammar-Products-Syndication/data/$_"} ...
...
$build->add_build_element('extradata');
I think that would do everything you wan
Hi Curtis!
On Friday 27 February 2009 18:48:24 Curtis Jewell (Perl-programming e-mail)
wrote:
> On Fri, 27 Feb 2009, Shlomi Fish wrote about Re: Default for $builder-
>prefix():
> > Am I right, or is there a better or more correct solution?
> >
> > Regards,
> >
> > Shlomi Fish
>
> I think bet
On Fri, 27 Feb 2009, Shlomi Fish wrote about Re: Default for $builder->prefix():
Am I right, or is there a better or more correct solution?
Regards,
Shlomi Fish
I think better would be dumping the data where File::ShareDir could find
it. (The location seems to be a semi-standard. No
On Friday 27 February 2009 16:42:58 Shlomi Fish wrote:
> Hi all!
>
> In the XML-Grammar-ProductsSyndication Build.PL file, I have the following
> code:
>
> {{{
> use strict;
> use warnings;
>
> use File::Spec;
> use lib File::Spec->catdir(File::Spec->curdir(), "inc");
>
> use Te
Hi all!
In the XML-Grammar-ProductsSyndication Build.PL file, I have the following
code:
{{{
use strict;
use warnings;
use File::Spec;
use lib File::Spec->catdir(File::Spec->curdir(), "inc");
use Test::Run::Builder;
use File::Find;
sub data_inc
{
return "/usr/share/pe