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