in reply to Re: UrlLib and urllib2 python to perl
in thread UrlLib and urllib2 python to perl

Looks like Web::Magic cant do https...
  • Comment on Re^2: UrlLib and urllib2 python to perl

Replies are listed 'Best First'.
Re^3: UrlLib and urllib2 python to perl
by Anonymous Monk on Aug 13, 2013 at 10:14 UTC

    Looks like Web::Magic cant do https...

    Sure, if you look with your eyes closed

      Pardon my ignorance.Maybe it does.Couldnt find examples. Any Idea why this error:
      use 5.010; use strict; use utf8::all; use Web::Magic my $search = web <https://10.219.136.2/auth1.html>; print $search;
      Compile:
      H:\Work\perl\latest>perl webmagic.pl syntax error at webmagic.pl line 7, near "https:"

        To start with

        use Web::Magic

        Should be

        use Web::Magic;

        Secondly this module has a huge list of dependancies, including for some reason Acme::24. If all you're looking to do is automate some other web interface consider the alternatives mentioned in the first link you were given, for exmaple WWW::Mechanize. You also seem to have logged out.