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

Joseph Mack NA3T jmack at wm7d.net
Sun Aug 16 20:44:40 EDT 2009


On Sun, 16 Aug 2009, Anderson Silva wrote:

> I was pretty sure this worked... have you tried it with double quotes?
> my $query_string = "";

no. never thought of that :-(

double quotes works fine.

I'd assumed that since interpolation was not involved, that 
they'd both be the same. Is there some reasoning behind this 
or is this just a piece of magic to remember?

Thanks

Joe

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!



More information about the TriLUG mailing list