in reply to Database, session example in rockway book

Have you tried the obvious sudo cpan install DBIC::Session? Just because it's not in the prerequisites doesn't mean it's not required. Even jrockway makes mistakes.

Update: Use quester's response instead


My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

Replies are listed 'Best First'.
Re^2: Database, session example in rockway book
by quester (Vicar) on May 11, 2008 at 21:44 UTC
    I think you mean sudo cpan DBIC::Session.

    After the horror several few years back where cpan install actually installed a module called "install"... a big, peculiar module, with odd dependencies... cpan was improved to kick out the following error instead:

    It looks like you specified 'install' as an argument to cpan(1). This script is not the CPAN.pm prompt and doesn't understand the same comma +nds. In fact, doesn't require the extra typing. You probably just want to list the modules you want to install...
      Given that I always do /path/to/perl -MCPAN -e 'install DBIC::Session' (due to the fact that I always have several Perl builds laying about and I like being absolutely sure which one I'm working with), I don't know the actual arguments to the cpan script. :-)

      My criteria for good software:
      1. Does it work?
      2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?