Change
if ($one_line =~ !/^#+/)to
if ($one_line !~ /^#+/)or
unless ($one_line =~ /^#+/)or if you really want
if (!($one_line =~ /^#+/))(and by the way you can drop the '+' in the regex)
dave
In reply to Re: Help with recurring "uninitialized variable" problem.
by Not_a_Number
in thread Help with recurring "uninitialized variable" problem.
by C_T
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |