Help for this page

Select Code to Download


  1. or download this
    
    #use strict;
    ...
    100
    10
    1
    
  2. or download this
    my %h1 = qw{a 1 b 2};
    *h2 = \%h1;
    
  3. or download this
    my $href = \%h1;
    
  4. or download this
    say *h2;
    
    --output:--
    main::h2
    
  5. or download this
    say $main::h2{a};
    
    --output:--
    1