in reply to Library to access MediaWiki

Welcome to the Monastery, guiwp!

Can you please tell us what error message you're getting? Also, try printing out the username and password to STDOUT to ensure they contain what you think they do. In the below example, I've put > and < immediately before and after each entry. This helps spot any erroneous whitespace characters:

print "un: >$settings->{username}<, pw: >$settings->{password}<\n";

Replies are listed 'Best First'.
Re^2: Library to access MediaWiki
by guiwp (Sexton) on Jun 13, 2016 at 14:11 UTC

    Thank you @stevieb, Btw I discovered how to use the debugger and its nice! (was able to type p $settings->{username} and the settings was fine!) =)

    Now I've tested and seems that only the MediaWiki::Bot is not working. The MediaWiki::API login func is ok (the only problem yesterday was an 500 https code over 443 on pt.wikipedia.org). Today I could login the server normally.

    Hey if anyone of you guys want to help fixing this issue with MediaWiki::Bot it should be very simple to you guys (see here https://github.com/MediaWiki-Bot/MediaWiki-Bot/issues/77). I would like to help https://github.com/doherty but I don't have the skills for it, unfortunately now now =(