Help for this page

Select Code to Download


  1. or download this
    local $/ = "HEADER END\n"; # set input record separator
    while ($file = <*.las>) {
    ...
        close(FILE);
        # process $header here
    }
    
  2. or download this
    my $maxHeader = 50;
    OUTER:
    ...
        close FILE;
        # process $header here
    }