Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: Web::Magic 0.005

by tobyink (Canon)
on Jan 13, 2012 at 13:43 UTC ( #947737=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $magic->set_request_header('User-Agent', 'MyBot/0.1');
    $magic->User_Agent('MyBot/0.1');  # same as above
    
  2. or download this
    $magic->user_agent->cookie_jar($cookies);
    
  3. or download this
    Web::Magic->new('http://example.com/new-document')
      ->POST($xmldom)
      ->{entry}{id};
    
  4. or download this
    my @entries =
      Web::Magic->new('http://example.com/new-document')
        ->POST({ title => "Hello", foo => 1 })
        ->entries;
    print $entries[0]->id;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://947737]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2020-04-09 08:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (47 votes). Check out past polls.

    Notices?