in reply to Help with recurring "uninitialized variable" problem.
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Help with recurring "uninitialized variable" problem.
by C_T (Scribe) on Apr 09, 2004 at 17:25 UTC | |
by Fletch (Bishop) on Apr 09, 2004 at 17:54 UTC | |
by C_T (Scribe) on Apr 09, 2004 at 20:35 UTC | |
by Fletch (Bishop) on Apr 09, 2004 at 22:24 UTC |