Welcome to the Monastery | |
PerlMonks |
Re: unknown pod directive 'encoding' in paragraph NNby kcott (Archbishop) |
on Feb 03, 2014 at 04:55 UTC ( [id://1073121]=note: print w/replies, xml ) | Need Help?? |
G'day puterboy, The encoding directive is described in "perlpod: Command Paragraph". That directive appears in the DateTime::Locale::pa_Guru_IN source code at the very start of the POD:
I don't know when that directive was introduced. It's documented in Perl v5.8.8 perlpod; I couldn't find it documented in my copy of "Programming Perl, 3rd Edition" which covers Perl v5.6. It's some years since I used Cygwin, but I recall it came with a very old version of Perl. Use perl -v to determine the version you're using; you may need to update; the latest stable production version is 5.18.2. I recalled you've had other installation problems recently. I went back to check and noticed you've just added Re: Difficult compiling Package::Stash::XS which includes "/usr/lib/perl5/5.14/x86_64-cygwin-threads/...". That tends to rule out an old Perl version problem (assuming you're using v5.14 in the curent scenario). I tried installing DateTime::Locale::pa_Guru_IN myself via cpan and it worked fine without any errors or warnings (I have Perl v5.18.1):
I found a bug report that may have a bearing on your problem: Bug #85628 for DateTime-Locale: [PATCH] POD fix. I also tried to install just DateTime. This worked fine also:
And, just to be on the safe side, in case that new version had caused some issue:
You haven't said how you're actually "using cpan to install DateTime". Perhaps try with the commands I've shown or, if you've been specifying a distribution, check the version numbers. Regarding the last part of your question, L<...> is a POD formatting code for hyperlinks (described in perlpod: Formatting Codes). The two http://* links do resolve correctly via a browser (you can try them directly yourself). Until you can install DateTime, not being able to link to/from its documentation is moot. -- Ken
In Section
Seekers of Perl Wisdom
|
|