for(@lines){ print "yahoo!" if 0 == index $_, '#'; } [download]
In reply to Re: Re^2: Regex to check for beginning character by Anonymous Monk in thread Regex to check for beginning character by Anonymous Monk