• 人気のコメント(0)
  • 全てのコメント
新着コメントはまだありません。
このエントリーにコメントしてみましょう。

    関連記事

    nothingmuch's perl blog: Functional programming and unreasonable expectations

    Wednesday, November 18, 2009 Functional programming and unreasonable expectations <record type="b...

    ブックマークしたユーザー

    • makamaka_at_donzoko2009/11/19 makamaka_at_donzoko
    • ziguzagu2009/11/19 ziguzagu
    • otsune2009/11/19 otsune
    すべてのユーザーの
    詳細を表示します

    関連商品

    いま人気の記事

    いま人気の記事 - 暮らし

    新着記事 - 暮らし

    同じサイトの新着

    • nothingmuch's perl blog: Simplifying BEGIN { } with Moose roles

      1 usersblog.woobling.org

      This is a common Perl pattern: package MyClass; use Moose use Try::Tiny; use namespace::autoclean; BEGIN { if ( try { require Foo; 1 } ) { *bar = sub { my $self = shift; Foo::foo($self->baz); }; } else { *bar = sub { ... # fallback implementation }; } } However, since this is a Moose class there is another way: package MyClass; use Moose use Try::Tiny; use namespace::autoclean; with try { require
    • nothingmuch's perl blog: KiokuDB for DBIC Users

      1 usersblog.woobling.org

      This is the top loaded tl;dr version of the previous post on KiokuDB+DBIC, optimized for current DBIx::Class users who are also KiokuDB non-believers ;-) If you feel you know the answer to an <h2>, feel free to skip it. WTF KiokuDB? KiokuDB implements persistent object graphs. It works at the same layer as an ORM in that it maps between an in memory representation of objects and a persistent one.
    • nothingmuch's perl blog: BerkeleyDB::Manager

      1 usersblog.woobling.org

      Another module I haven't talked about is BerkeleyDB::Manager, a convenience wrapper for BerkeleyDB. The interface that BerkeleyDB exposes to Perl is pretty close to the C API, which can get very tedious. For me the hardest part of using Berkeley DB was getting everything properly set up. For example, in order to get transaction support you must pass a number of flags to initialize the various subs