Help for this page

Select Code to Download


  1. or download this
    #Empty.parser
    
    ...
        '!UNEXPECTED' => ['START', sub {output("Unexpected text at line $_
    +[0]"); $error++}],
            # [ the state to move to if no regexp of the current state mat
    +ched the line, function to call ]
    }
    
  2. or download this
    #FileCreate.parser
    my ($sites, $files, $jobs, $site_start, $error);
    ...
        '!EOF' => sub {output("Unexpected EOF!")},
        '!UNEXPECTED' => ['START', sub {output("Unexpected text at line $_
    +[0]"); $error++}],
    }
    
  3. or download this
    #parse.pl
    use strict;
    ...
            }
        }
    }