That is a difficult question to answer: I don't have the Catalyst book and besides, you have "made all the code changes".Did you already look at Catalyst/Plugin/Session/Store/DBIC.pm line 143 and see what the offending code is? I wild guess: you don't have a module called DBIC::Session or it is not where Perl / Catalyst thinks it should be.
CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
| [reply] [d/l] [select] |
While your problem does not appear to be listed in the book's errata, a thread about the book would not be complete without a link to the online errata.
• another intruder with the mooring in the heart of the Perl
| [reply] |
| [reply] [d/l] |
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...
| [reply] [d/l] [select] |
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:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
| [reply] [d/l] |