On Fri, 18 Jun 2004, Henry Baragar wrote:

> I am getting the following warning in my log files:
>
> Use of uninitialized value in pattern match (m//) at
> ./plugins/spamassassin line 102, <STDIN> line 43
>
> Should I be concerned?  What can I do to make it go away?

        One of the variables didn't get an actual value assigned to it
before the match was attempted. As far as I know it doesn't hurt anything.
However, when I encounter them I usually do something like:

$variable       ||= "" ;

        Then the warning goes away.

-- 
Roger Walker
"HIS Pain - OUR Gain"

Reply via email to