Hi Karl Welcome to Perl!:) Changing UxixDate to UnixDate does indeed get it running.
It might be worth explaining in a few words what you're aiming to do with your newly acquired Perl skills and we can point you in the direction of the best books on offer. The reason I say this is that the book you're reading is from 2003 http://www.amazon.co.uk/Perl-Cookbook-Tom-Christiansen/dp/0596003137 and Perl 5.20.2 + Metacpan have come a long way since then and your goals are almost certainly more easily approached using new features, standards (think 'strict' and 'warnings') and packages. cheers Andrew On Fri, Nov 6, 2015 at 5:28 PM, shawn wilson <ag4ve...@gmail.com> wrote: > Try UnixDate > > On Fri, Nov 6, 2015 at 12:20 PM, Karl Hakmiller <ka...@cox.net> wrote: > > ~/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/ > > > > > > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional commands, e-mail: beginners-h...@perl.org > http://learn.perl.org/ > > > -- Andrew Solomon Mentor@Geekuni http://geekuni.com/ http://www.linkedin.com/in/asolomon