DDL生成して、GitDDLと連携して使ってる
my $now = localtime; my $day = $now->add(days => 10);
結構メンテが大変
use Path::Tiny; my $file = path(...); # file, dir共通 my $content = $file->slurp_utf8;
package MyApp::Exception; use parent 'Exception::Tiny'; package main; use Try::Tiny; try { MyApp::Exception->throw; } catch { my $err = $_; ... };
use MyClass; use Class::Accessor::Lite::Lazy ( ro_lazy => [qw/hoge/], ); sub _build_hoge { 1; }