" use Games::Random::Alignmnet qw(random_alignment);" Spelling error here ---^ Cheers.