#!/usr/bin/perl my @text = ("Hi there 11", "Fred blamed me", "17 o clock", "It's snowing hampsters", "Pickles are people too!"); if (@text =~ /11/ || @text =~ /are/) { print "test successfull"; } else { print "We messed something up again";};