Eg:
sub reset_all { $x = undef; $counter = 1; } [download]
C.
In reply to Re: Clearing user defined variables by castaway in thread Clearing user defined variables by Wassercrats