On 09/03/2014 01:07 PM, Neil Watson wrote:
On Wed, Sep 03, 2014 at 12:27:02PM -0400, Joe Landman wrote:
Before you light this up using morbo, try running it in daemon mode
./CottageS.pldaemon
neil@ettin ~/src/cottage_site/app $ ./CottageS.pl deamon
Couldn't find application class "CottageS".
I am guessing you might need a 'use lib "lib/";' to tell the app where
the module is sitting.
In one of my Mojolicious::Lite apps, I use this right before we load the
class:
use strict;
use POSIX;
use constant tiburon_version => 0.20;
use constant tiburon_label => "Beagle";
use Mojolicious::Lite;
use File::ChangeNotify;
use lib "lib/";
use Tiburon ;
and
~/work/development/tiburon$ ls lib/
Tiburon.pm
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.