[TriLUG] perl: how to initialise a variable that I want to be NULL

Michael Peters mpeters at plusthree.com
Mon Aug 17 10:10:48 EDT 2009


Joseph Mack NA3T wrote:
>  I can stop this message by initialising
> the variable to ' ' when I declare it (this extra blank doesn't affect 
> the query) but it seems a kludge. Initialising it to '' apparently is 
> not initialising it, as I still get the message. Is there a better way 
> to not get the message?

Something else is wrong with your code, that should work. Are you sure single 
quotes didn't work?

-- 
Michael Peters
Plus Three, LP




More information about the TriLUG mailing list