Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    }
    
    __END__
    
  2. or download this
    $VAR1 = {
              'NUMBERS' => [
    ...
                             '3'
                           ]
            };
    
  3. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    }
    
    __END__
    
  4. or download this
    k:NUMBERS v:ARRAY(0x7fef9a82a168)
    
  5. or download this
    my @i_numbers = $opt{NUMBERS};
    
  6. or download this
    my $i_numbers = $opt{NUMBERS}; # $i_numbers is an arrayref
    
    # or
    
    my @i_numbers = @{ $opt{NUMBERS} }; # dereference the arrayref as you 
    +get it from the hash
    
  7. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    }
    
    __END__