Help for this page

Select Code to Download


  1. or download this
    @nums{ @numbers } = (1) x @numbers;
    
  2. or download this
    #!/usr/bin/perl -w       
    use strict;
    ...
             
    print Dumper \%nums;
    print Dumper \%rums;
    
  3. or download this
    $VAR1 = {
              '8' => undef,
    ...
              '4' => 1,
              '6' => 1
            };
    
  4. or download this
    @nums{ @numbers } = ();
    print "FOUND\n" if exists $nums{ $array[0] };