in reply to install multiple modules at once using CPAN

DBIx::Transaction exists, so the first thing I'd ask after is "Can you install anything else via CPAN?" Full output from the CPAN transaction might be helpful.
  • Comment on Re: install multiple modules at once using CPAN

Replies are listed 'Best First'.
Re^2: install multiple modules at once using CPAN
by ruqui (Acolyte) on Aug 25, 2014 at 17:22 UTC
    The problem happens when I try to install both modules in the same command, it works ok if I install them separately using two commands.

    I want to know if there's something wrong with the syntax I've used (see my first post), or the problem is that CPAN can't handle multiple installations at once.

      The problem is the syntax (see perlintro). Its like writing
      $ perl -le " print foo bar " Can't locate object method "foo" via package "bar" (perhaps you forgot + to load "bar"?) at -e line 1. $ perl -e "warn foo bar " Can't locate object method "foo" via package "bar" (perhaps you forgot + to load "bar"?) at -e line 1. $ perl -e "warn bar->foo " Can't locate object method "foo" via package "bar" (perhaps you forgot + to load "bar"?) at -e line 1.

      arguments to functions need to be seperated by commas, and strings should generally be quoted

      If you had quoted them

      And it says A comma is missing.