[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

What's Wrong With My Perl Install?



Attempting to execute a perl script, I received errors the meaning of which I 
need explained.

  debian-rtg:/home/tilleyrw# ./scrape_test.pl 'Demolition Man'
  Can't locate XML/LibXML.pm in @INC (@INC   
  contains: /etc/perl /usr/local/lib/perl/5.8.3 /usr/local/share/perl/5.8.3 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) 
  at ./scrape_test.pl line 37.
  BEGIN failed--compilation aborted at ./scrape_test.pl line 37.
  debian-rtg:/home/tilleyrw#

This program is including all modules, so I'm lost.  

debian-rtg:/home/tilleyrw# head scrape_test.pl
  #!/usr/bin/perl

  # turn on perl's safety features
  use strict;
  use warnings;

  # check arguments
  my $film = join " ", @ARGV or die "Must specify film name on command line";
  use WWW::Mechanize;
  my $browser = WWW::Mechanize->new();
  debian-rtg:/home/tilleyrw#
-- 
Comments are appreciated,

Bob



Reply to: