Help for this page

Select Code to Download


  1. or download this
    my $offset = tell STDIN;
    while ( my $line = <STDIN> ) {
    ...
    continue {
        $offset = tell STDIN;
    }
    
  2. or download this
    [0] 12345
    [6] 1234567890
    [17] a
    [19] b
    [21] c
    
  3. or download this
        my $tlc = substr $line, 0, 3;
        push @{ $offsets_for{$tlc} }, $offset;