ヴィエニーズブレンド 100g

by typester / at 2006-02-12T23:30:00 / life · starbucks / Comment

出社。

なんか手裏剣とかお菓子とかコロッケとかもらった。誕生日だ。

by typester / at 2006-02-12T23:01:00 / life / Comment

uinona と 小松未歩 の区別が付きません。

by typester / at 2006-02-12T18:25:00 / music / Comment

refactored

sub fuzzyfind { my ( $self, $id ) = @_;

    $id and $id =~ /\D/
        ? ( $self->find( { uuid => $id } ), 1 )
        : $self->find($id);
}

こうか。

by typester / at 2006-02-12T17:46:00 / perl · dbic / Comment

fuzzyfind

sub fuzzyfind { my ( $self, $id ) = @_;

    my ( $exist, $uuid );
    $exist = $self->find( { uuid => $id } ) and $uuid++
        if $id and $id =~ /\w/;

    defined $exist ? ( $exist, $uuid ) : $self->find($id);
}

namingsence by 2ndlife.

* 16:46 コード修正

by typester / at 2006-02-12T16:27:00 / perl · dbic / Comment