Help for this page

Select Code to Download


  1. or download this
    my $linenum = 10;
    while ( my $line = <FILE>) {
    ...
        # Process the one line here...
        last;  # No need to continue.
    }