2012-09-19から1日間の記事一覧
StackoverflowのAnswerが秀逸すぎて思わずコピペ。http://stackoverflow.com/questions/78278/clean-implementation-of-the-strategy-pattern-in-perl package StrategyInterface; use Moose::Role; requires 'run'; package Context; use Moose; has 'strat…
StackoverflowのAnswerが秀逸すぎて思わずコピペ。http://stackoverflow.com/questions/78278/clean-implementation-of-the-strategy-pattern-in-perl package StrategyInterface; use Moose::Role; requires 'run'; package Context; use Moose; has 'strat…