Is it possible to install multiple modules using CPAN? I've tried:
perl -MCPAN -e 'install DBIx::Transaction File::Basename::Object'
but I get this error:
Can't locate object method "Transaction" via package "DBIx" at -e line 1
cpan DBIx::Transaction File::Basename::Object
Use the cpan
that was installed by the perl
for which you want to install.
If you have problems installing for the correct perl
, explicitly use the correct perl
.
.../perl -S cpan DBIx::Transaction File::Basename::Object
or
.../perl -MCPAN -e'install($_) for @ARGV' DBIx::Transaction File::Basename::Object
The problem you have is the unquoted use of DBIx::Transaction
.