in reply to Re^7: Using a Fetchrow with LWP
in thread Using a Fetchrow with LWP

ok, this is weird.
C:\SCRIPTS>cpanm install install Mojo::Message::Response --> Working on install Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/install-0.01.tar +.gz ... OK Configuring install-0.01 ... OK Building and testing install-0.01 ... OK Successfully installed install-0.01 Mojo::Message::Response is up to date. (undef) 1 distribution installed C:\SCRIPTS>cpanm install install Mojo::Message install is up to date. (0.01) Mojo::Message is up to date. (undef) C:\SCRIPTS>cpanm install install Mojo::UserAgent install is up to date. (0.01) Mojo::UserAgent is up to date. (undef) C:\SCRIPTS>cpanm --mirror install Mojo::Message::Response Mojo::Message::Response is up to date. (undef)

Replies are listed 'Best First'.
Re^9: Using a Fetchrow with LWP
by marto (Cardinal) on Jul 19, 2023 at 14:38 UTC

    Before doing anything else, what does cpan -D Mojolicious show?

    cpanm install install Mojo::Message::Response cpanm install install Mojo::Message cpanm install install Mojo::UserAgent

    No need for double installs (don't worry install has you covered 'install - Dummy module that prevents unexpected results from the CPAN shell'). cpanm Mojolicious should install the whole framework for you.

      Oh boy...
      Mojolicious ---------------------------------------------------------------------- +--- (no description) S/SR/SRI/Mojolicious-9.33.tar.gz C:\Strawberry\perl\vendor\lib\Mojolicious.pm Installed: 7.32 CPAN: 9.33 Not up to date

        Lot's of new things and improvements since then :)

Re^9: Using a Fetchrow with LWP
by justin423 (Scribe) on Jul 19, 2023 at 14:08 UTC
    Even weirder..
    cpan> o conf commit commit: wrote 'C:\Strawberry\perl\lib/CPAN/Config.pm' cpan> o conf urllist urllist 0 [http://mirror.datapipe.net/CPAN/] 1 [http://mirrors.rit.edu/CPAN/] Type 'o conf' to view all configuration items cpan> install Mojo::Message Database was generated on Wed, 19 Jul 2023 12:59:13 GMT Mojo::Message is up to date (undef). cpan> install Mojo::UserAgent Mojo::UserAgent is up to date (undef). cpan> install Mojo::Message::Response Mojo::Message::Response is up to date (undef). still... Can't locate object method "save_to" via package "Mojo::Message::Respo +nse" at testdown1.pl line 27.

      https://www.cpan.org/SITES.html:

      "For many years, CPAN benefitted from the mirroring of the central respository to many sites around the world. In the time of a slower global Internet, these mirrors provided most Perl users with fast access to thousands of software distributions. These days, the CPAN is backed by a CDN that performs the same job, but transparently. There is no longer a list of registered mirrors, you can just point at www.cpan.org and go."

      just use https://www.cpan.org/.