Help for this page

Select Code to Download


  1. or download this
    use strict;
    open FH, '<', 'test1.dat' or die $!;
    my %h; $h{FH}=FH;
    flock( $h{FH}, 2);
    close $h{FH}
    
  2. or download this
        ....
        {
    ...
             # do the thing that conflicts with strict.
        }
        ....