Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 5th, 2012  |  syntax: None  |  size: 0.30 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. package App::Intercensor::QuestSelection::Hash;
  2. use Moose;
  3.  
  4. has 'quests' => (
  5.     traits  => ['Hash'],
  6.     isa     => 'HashRef[Str]',
  7.     default => sub { {} },
  8.     handles => {
  9.         start   => 'set',
  10.         running => 'get',
  11.         stop    => 'delete',
  12.     },
  13. );
  14.  
  15. __PACKAGE__->meta->make_immutable();