Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my %hash=('a'=>1 , 'b' =>2 , 'c'=>3,);
    %hash=@array;
    print Dumper \%hash;
    
  2. or download this
    @hash{keys %hash}=(0) x scalar(keys %hash);