in reply to Re^2: Regex in if statementin thread Regex in if statemetn
Sure they do:
$ cat 1078855.pl use warnings; use strict; while (<DATA>) { print if /^#\s*[a-z]+/i; } __DATA__ #MO # MO #mo # mo # 555 $ perl 1078855.pl #MO # MO #mo # mo $ [download]