Of course your code would look rather ugly. But sometimes this approach can be useful.$variable{'a'} = 1; $variable{'b'} = $variable{'a'} + 1; foreach my $k (keys %variable) {$variable{$k} = $reset_value;}
In reply to Re: Build a list of defined var's
by ramlight
in thread Build a list of defined var's
by Karger78
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |