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

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:"

Replies are listed 'Best First'.
Re^5: UrlLib and urllib2 python to perl
by marto (Cardinal) on Aug 13, 2013 at 10:41 UTC

    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.

Re^5: UrlLib and urllib2 python to perl
by Anonymous Monk on Aug 13, 2013 at 10:51 UTC