Skip to content
Browse files

use constant broke NYTProf

  • Loading branch information...
1 parent b315b8c commit 0cc86555aebc8be8b17c26fc32af36dc07260e0b @nothingmuch committed
Showing with 12 additions and 10 deletions.
  1. +12 −10 lib/KiokuDB/Backend/Serialize/JSPON/Converter.pm
View
22 lib/KiokuDB/Backend/Serialize/JSPON/Converter.pm
@@ -5,16 +5,18 @@ use Moose::Role;
use namespace::clean -except => 'meta';
-use constant _jspon_fields => qw(
- id
- class
- class_meta
- root
- deleted
- tied
- ref
- data
-);
+sub _jspon_fields {
+ return qw(
+ id
+ class
+ class_meta
+ root
+ deleted
+ tied
+ ref
+ data
+ );
+}
has id_field => (
isa => "Str",

0 comments on commit 0cc8655

Please sign in to comment.
Something went wrong with that request. Please try again.