Subject: | subs from uninstalled plugins fail with surprising compilation error. |
Date: | Sun, 18 Jul 2010 01:48:12 +0100 |
To: | bugs-Module-Install [...] rt.cpan.org |
From: | Hakim Cassimally <hakim.cassimally [...] gmail.com> |
I tried to follow instructions in Module::Install::ReadmeFromPod and
got the following error:
$ perl Makefile.PL
include /home/hakim/other_repos/Harold/inc/Module/Install.pm
String found where operator expected at Makefile.PL line 7, near
"readme_from 'lib/Harold.pm'"
(Do you need to predeclare readme_from?)
syntax error at Makefile.PL line 7, near "readme_from 'lib/Harold.pm'"
Execution of Makefile.PL aborted due to compilation errors.
Of course the problem is that I didn't have
Module::Install::ReadmeFromPod installed... but it seems the way the
plugin system works means that this is a syntax error rather than an
indication to install the plugin.