Thread: undef
View Single Post
  #1  
Old 07-29-2009, 04:23 AM
eqwarrior
Sarnak
 
Join Date: Jul 2009
Location: United States
Posts: 40
Question undef

How important is undef?

Just from other peoples examples, I've used

$variable = undef;

but now I'm seeing

undef $variable;

Is either ok? Which is the proper way? Do I use it for just qglobals or any my $variables? Is it important, such as freeing up memory? Sorry for the noob questions lol. Trying to optimize my quest files.

And would this be a possible cause of a zone taking up more RAM the longer zone is up?

-Thanks
Reply With Quote