transactional function needs to store its argument in database (currently in JSON), coderefs are not representable in JSON. =head1 HOMEPAGE Please visit the project's homepage at L<https://metacpan