~/perlstuff$ perl hopdelta.plx
"UxixDate" is not exported by the Date::Manip module
Can't continue after import errors at hopdelta.plx line 9.
BEGIN failed--compilation aborted at hopdelta.plx line 9.
karlh@HAKS13:~/perlstuff$

I received this error trying to run a script taken from the Perl Cookbook (2nd Ed;Christensen & Torkington; p.107).
which begins as follows:

use Date::Manip qw (ParseDate UxixDate);

# print header;
printf "%-20.20s %-20.20s %-20.20s %s\n",
        "Sender",  "Recipient", "Time",  "Delta";

$/ = '';           # Paragraph mode
$_ = <>;           # Read header
s/\n\s+/ /g;       # Join continuation lines


I've read the docs on the Date::Manip module and
several of its sub-modules but can find no
clarification there (which is probably because
I am a rank beginner with perl). So, assuming
there is no typo or bug in the script will someone
please point me toward a source that explains what
is (or isn't) happening here.

BTW, I'm using perl5 version 20 subversion 2 on Ubuntu 15.10

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to