* Hugh S. Myers <[EMAIL PROTECTED]> [2002-04-01 15:30]:
> I got this bit of email from one of the CPAN testers today. Since it works
> under Windows and since I don't run Linux I've no clue as to why the
> makefile generated by:
>
> use ExtUtils::MakeMaker;
> # See lib/ExtUtils/MakeMaker.pm for details of how to influence
> # the contents of the Makefile that is written.
> my @list_of_db_files = ('db\ECO','db\NIC','db\Opening');
This line is generating the problem. '\' is not a valid directory
separator undef Unix. You should use File::Spec:
my @list_of_db_files = map File::Spec->catfile("db", $_), qw(ECO NIC Opening);
Or something.
This produces the list ('db/ECO','db/NIC','db/Opening') under Linux,
which is correct.
Note that '/' will work as a path separator for Windows, too; it's only
command.com (and it's decendants) that are tied to '\' as a path
separator.
(darren)
--
Language is not neutral. It is not merely a vehicle which carries ideas.
It is itself a shaper of ideas.
-- Dale Spender