in reply to Re: Re: Re: Help with recurring "uninitialized variable" problem.
in thread Help with recurring "uninitialized variable" problem.
This is a Perl module? Sorry, this statement doesn't make much sense to me yet.
>So what you were really doing was first matching /^#+/ against $_,>$ perl -MO=Deparse,-p -e '$one_line =~ !/^#+/' >($one_line =~ (not /^#+/));
Why is that? Doesn't the =~ operator mean that I'm matching against whatever is to the left of the operator? Was it matching against $_ because of where I put the "not" operator(!)?
>taking the logical not of what that returned and then attempting to use the string version of that as a regexp to match against $one_line.
I guess I wish I understood this better. I'll keep at it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Help with recurring "uninitialized variable" problem.
by Fletch (Bishop) on Apr 09, 2004 at 22:24 UTC |