Help for this page

Select Code to Download


  1. or download this
    foreach my $num (@$arr)
    {
      $hr->{$num} =1;
    }
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
              '3' => 1,
              '2' => 1
            };