Help for this page
foreach (qw( -845 4/3 1.25 )) { /^[-+]?\d{3}$/ && do { ... -845 is a three digit integer, with a possible sign. -845 starts with a minus sign 4/3 has a / in it.