foreach(@lines) { if ($_ !=~ m/^#/g) { print "yahoo!"; } } [download]
In reply to Regex to check for beginning character by Anonymous Monk