We don't bite newbies here... much | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
so after reading that tut i am confuzzled as to whether i should be undef'ing the array or any variables in general ;P But you don't undef the array in return values are undef after return after you return :D undefing vars can't hurt, and it could trigger warnings if you use those vars later in your messy code :) If you seek clarity about when to undef, you seek clarity about scoping :) read Tutorials: Variable Scoping in Perl: the basics, Coping with Scoping , Mini-Tutorial: Perl's Memory Management, Lexical scoping like a fox In reply to Re^3: return values are undef after return
by Anonymous Monk
|
|