Help for this page

Select Code to Download


  1. or download this
    a fixed bit: a,variable,length, repeated, bit [some more fixed stuff]
    more fixed: more,variable,stuff [more fixed]
    
  2. or download this
    while( my $data = <DATA> ) {
        $data =~ m[^
    ...
        my @variable_bits =  $2 =~ m[(\w+)[,\s]]g;
        print "$first_bit: (@variable_bits) [$last_bit]";
    }
    
  3. or download this
    #! perl -slw
    use strict;
    ...
    __DATA__
    1: or more [semi-fixed] fields: and,some,variable,length,stuff [more(f
    +ixed)stuff]
    2: kind of [similarly] formated: records,with,variable,differences [em
    +bedded(in the)records]