-1

I am trying to run this perl web proxy code link but I have an error saying that I have HTTP.pm is missing !

the message:

Can't locate POE/Component/Client/HTTP.pm in @INC (you may need to install the POE::Component::Client::HTTP module) (@INC contains: /home/res/workspace/.metadata/.plugins/org.epic.debug /home/res/workspace/perlone/CIDS-dev /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /home/res/workspace/perlone/CIDS-dev/webproxy.pl line 7.
BEGIN failed--compilation aborted at /home/res/workspace/perlone/CIDS-dev/webproxy.pl line 7.

So, what should I install to run this code. Thanks,

interface
  • 35
  • 4

2 Answers2

4

You need to install the Perl module POE::Component::Client::HTTP. If you have access, try running this from command line:

perl -MCPAN -e 'install POE::Component::Client::HTTP'
Borodin
  • 126,100
  • 9
  • 70
  • 144
Andrew Newby
  • 4,941
  • 6
  • 40
  • 81
1

You need to install POE::Component::Client::HTTP

Borodin
  • 126,100
  • 9
  • 70
  • 144