Help for this page
## When we are looking on REGEXP for something that is after other, ## genreally "\n", we forget about the beggin of the string, ... ## remove comments: $str =~ s/(?:^|\n)[ \t]*#//gs
$str =~ s/^[ \t]*#.*\n//gm;