Help for this page

Select Code to Download


  1. or download this
     
    #!/usr/bin/env perl
    use strict;
    ...
    print "inter: ", pp(\%inter), "\n";
    print "sd1: ", pp(\%sd1), "\n";
    print "sd2: ", pp(\%sd2), "\n";
    
  2. or download this
    Use of uninitialized value $array2[2] in hash slice at /home/lanx/B/PL
    +/PM/set2.pl line 12.
    Use of uninitialized value $array2[2] in delete at /home/lanx/B/PL/PM/
    +set2.pl line 16.
    array1: [1, 2, ""]
    ...
    inter: { "" => undef, 2 => 2 }
    sd1: { 1 => 1 }
    sd2: { 3 => 3 }