use strict; use warnings; use Statistics::Chisquare; my(@subwaystops) = (14,18,23,28,34,42,50,59,66,72,79,86,96,103); print chisquare(@subwaystops);