Subject: | Syntax warning when using module |
When I use Math::Combinatorics, perl is reporting a syntax error:
Found = in conditional, should be == at /usr/local/lib/perl5/site_perl/5.8.7/Math/Combinatorics.pm line 563.
This same error occurs both on OS X Tiger with perl 5.8.6, and on Linux 2.6.12 with perl 5.8.7. Both are using the latest version of the module I could find on CPAN, which was 0.06.
I can duplicate the error with the following tiny program:
test.pl
-----
#!/usr/bin/perl -w
use strict;
use Math::Combinatorics;