On Sun, Feb 25, 2007 at 12:45:00PM +0800, Greg Matheson wrote:
> With reference to:
> http://www.mail-archive.com/cpan-testers%40perl.org/msg398745.html
>
> Because it is not failing on 5.8, I suspect that in 5.6.2 the constants pragma
> didn't have:
>
> Defining multiple constants at once
Correct.
> Line 16 of my module is:
>
> use constant {
> C1 => 'C1',
> C2 => 'C2',
> ...
So presumably just changing it to this should work:
use constant C1 => 'C1';
use constant C2 => 'C2';
[and so on]
If it would help, I can give you a temporary account with perl 5.6.2
installed.
--
David Cantrell | Reality Engineer, Ministry of Information
Feature: an incorrectly implemented bug