Thu Oct 01 14:20:41 2009kpolozko [...] kent.edu - Ticket created
Subject:
"use" not allowed in expression at Fathom.pm
Date:
Thu, 1 Oct 2009 14:20:12 -0400
To:
bug-Lingua-EN-Fathom [...] rt.cpan.org
From:
KATERYNA POLOZKOVA <kpolozko [...] kent.edu>
Hi, I'm a researcher at Kent State and am trying to run Lingua::EN::Fathom
but get the following error messages:
"use" not allowed in expression at Fathom.pm line 7, at end of line
syntax error at Fathom.pm line 7, near "head1 SYNOPSIS
What am I doing wrong?
Thank you,
Kateryna
Sat Jun 26 21:09:08 2010kimryan [...] cpan.org - Status changed from 'new' to 'open'
Sat Jun 26 21:17:18 2010kimryan [...] cpan.org - Correspondence added
Looks like you verion of Perl is not processing the inline POD
documentation directives (=head1 ... =cut etc) correctly. This would
cause problems for moast CPAN modules
line7 is part of the documentation in the SYNOPSIS section, but is
trying to be run as part of the code.
5 =head1 SYNOPSIS
6
7 use Lingua::EN::NameParse qw(clean case_surname);
Work around would be to strip out the POD documentation. Also maybe
check that line endings are consistent for your operating system
Sat Jun 26 21:17:19 2010kimryan [...] cpan.org - Status changed from 'open' to 'resolved'