Help for this page

Select Code to Download


  1. or download this
    use strict;
    my @parsers;
    ...
    
    sub parser1 { parse..parse..parse };
    sub parser2 { parse_somewhat_differently };
    
  2. or download this
    $parsers[$source_id]->( arguments ); # $source_id contains the source,
    + e.g. 2