SYNOPSIS

     use Perinci::Sub::CoerceArgs qw(coerce_args);
    
     my $res = coerce_args(meta=>$meta, args=>$args, ...);

DESCRIPTION

    I expect this to be a temporary solution until Data::Sah or
    Perinci::Sub::Wrapper has this functionality.

    Some notes:

      * For convenience, when converting duration larger than 86400 from
      seconds (e.g. 864000) into DateTime::Duration object, days and
      seconds will be used instead of just seconds (i.e., we disregard leap
      seconds).

