in reply to Re: Perl Script to login to a secure WebSite
in thread Perl Script to login to a secure WebSite

When i am running yua code. there is a error which i generated as : Error: Can't locate object method "new" via package "Mail::Webmail::Gmail" (perhaps you forgot to load "Mail::Webmail::Gmail"?) at login1.pl line 4. Can u try to resolve the issue.. and come up with the new code.. What does it mean??
  • Comment on Re^2: Perl Script to login to a secure WebSite

Replies are listed 'Best First'.
Re^4: Perl Script to login to a secure WebSite
by Corion (Patriarch) on Sep 17, 2016 at 06:33 UTC

    The parent post does not mention Mail::Webmail::Gmail at all, so you are not running the code you are replying to.

    Note that the bug reports for Mail::Webmail::Gmail show that it has not been maintained since 2006, which makes it quite unlikely for a web scraper to still work.

    If you want to continue with the code you have, you will have to install Mail::Webmail::Gmail. Either use your OSes package manager to install the module or install it through the cpan tool:

    cpan Mail::Webmail::Gmail

    Most likely, you will find it much easier to acces Gmail through IMAP.

Re^4: Perl Script to login to a secure WebSite
by marto (Cardinal) on Sep 17, 2016 at 06:35 UTC

    You keep ignoring the advice given to your previous posts and by perl itself, you've not shown the code you are running. This isn't a code writing service.

Re^3: Perl Script to login to a secure WebSite
by marto (Cardinal) on Sep 17, 2016 at 06:47 UTC

    Please stop reposting the same (or almost identical) responses. Read the replies you have which address the issue. Hint, if you create an account and login then you'll ne notified or replies to your posts.