So the first thing here is that you shouldn't be using package variables in modern Perl.
Nevertheless, usually setting $var=0, or $var=undef is enough! Those are "false" values. In Perl "undef" is actually a value. To set $var to absolutely nothing: $var=(); Many folks will write Perl for years without understand that trick.
Curiosity gets the better of me...why would you even think of using reset? Can you post some code where you think that it is required to use "reset"?
In reply to Re: reset particular variable
by Marshall
in thread reset particular variable
by abubacker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |