Skip to content

Instantly share code, notes, and snippets.

@sharifulin
Created July 14, 2010 14:02
Show Gist options
  • Select an option

  • Save sharifulin/475448 to your computer and use it in GitHub Desktop.

Select an option

Save sharifulin/475448 to your computer and use it in GitHub Desktop.
Example of my module: common::sense + Mojo::Base
package Score;
use common::sense;
use base 'Mojo::Base';
use constant DEBUG => $ENV{SCORE_DEBUG} // 0;
__PACKAGE__->attr('db');
...
1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment