LibreCat - Librecat helper functions
use LibreCat;
# Given a 'catmandu' configuration file, like: catmandu.hooks.yml
# --
# hooks:
# myhook:
# before_fixes: [BeforeFix1,BeforeFix2]
# after_fixes: [AfterFix]
my $hook = LibreCat->hook('eat');
$hook->fix_before($data); # BeforeFix1->fix($data) and
# BeforeFix2->fix($data) will be executed
$hook->fix_after($data); # AfterFix->fix($data) will be executed