Nicolas Steenlant > Catmandu > Catmandu::Fix::Bind::maybe

Download:
Catmandu-1.0304.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.0304   Source  

NAME ^

Catmandu::Fix::Bind::maybe - a binder that skips fixes if one returns undef or dies

SYNOPSIS ^

 do maybe()
    foo()
    return_undef() # rest will be ignored
    bar()
 end

DESCRIPTION ^

The maybe binder computes all the Fix function and ignores fixes that throw exceptions.

SEE ALSO ^

Catmandu::Fix::Bind

syntax highlighting: