#!/usr/bin/perl -Wallusestrict;use Mail::IMAPClient;use Data::Dumper;my$imap= Mail::IMAPClient->new();$imap= Mail::IMAPClient->new(
Server =>"localhost",
User =>"matej",
Password =>"lubdkc")or die "Cannot connect to localhost as matej: $@";printDumper($imap);