Skip to content

Instantly share code, notes, and snippets.

@mihyaeru21 mihyaeru21/hoge.pl
Created May 26, 2016

Embed
What would you like to do?
# ()付けない
cmp_deeply $hoge, {
id => is_integer,
name => is_string,
};
# ()付ける
cmp_deeply $hoge, {
id => is_integer(),
name => is_string(),
};
# 混ざってると気持ち悪い
cmp_deeply $hoge, {
id => is_integer,
name => is_string(),
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.