Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my %barcode_hash = map { $_ => $data } 1 .. $size;
    print "end\n";
    
  2. or download this
    ...
    our %barcode_hash = map { $_ => $data } 1 .. $size;
    ...
    
  3. or download this
    use strict;
    use warnings;
    ...
    
    printf "%0.03f seconds\n", time - $start_time;
    
  4. or download this
    perl timeit.pl perl test.pl
    
    my  %big_hash:  2.726 seconds
    our %big_hash:  1.351 seconds