Help for this page

Select Code to Download


  1. or download this
    my %hash_defaults = ('a'=>0 , 'e'=>0 , 'i'=>0 , 'o'=>0 , 'u'=> 0,);
    my %hash = %hash_defaults;
    ...
    
    # Reinitialize
    %hash = %hash_defaults;
    
  2. or download this
    while (...) {
        my %hash = ('a'=>0 , 'e'=>0 , 'i'=>0 , 'o'=>0 , 'u'=> 0,);
        ...
    };
    
  3. or download this
    use vars '%hash';
    
    ...
    };
    ... changes are forgotten