Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Establish a session to call URL with Perl

by Cody Fendant (Friar)
on Jul 07, 2013 at 03:18 UTC ( #1042963=note: print w/replies, xml ) Need Help??


in reply to Establish a session to call URL with Perl

Do you mean "establish a connection" or do you mean "log in to the site"?

Generally speaking, you go to a website with WWW::Mechanize just by using get('url') so if you know the URL you want to go to, say it's http://google.com you just do $mech->get('http://google.com').

If you mean something else, please be more specific.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1042963]
help
Chatterbox?
[marto]: https://www. youtube.com/watch? v=WZnsHvEYEZI
[Discipulus]: marto apotropaic gestures in Eataly..
[Discipulus]: LanX nick does not downvote peoples, just content he dislike (I think)
[Discipulus]: anyway I have my Tk toys running at 50%!! someone want to see it?
[LanX]: disc+ true every node authored by me or mentioning Perl 6 ;)

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2018-04-26 10:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?