|Just another Perl shrine|
Use of uninitialized value in pattern match (m//)by wolis (Scribe)
|on Feb 10, 2004 at 03:10 UTC||Need Help??|
wolis has asked for the wisdom of the Perl Monks concerning the following question:
I have search PerlMonks and found questions and answers on all things Use of uninitialized value.. but none refer to pattern matching.
Now this warning logically makes sence, I have not initialise a variable in my regex.
then you look at the if regex it complained about:
How can I initialise the single quote? Should I be definding a var and using that in my regex? is this important?