Help for this page

Select Code to Download


  1. or download this
        my $p=new XML::Parser(Style=>'Stream') 
            or die ("Couldn't make new Parser\n$GOODBYE\n");
        $p->parsefile($logfile, ErrorContext => 0) ;
            #or die ("Couldn't invoke parsefile in XML::Parser...\n$GOODBY
    +E\n");
    
  2. or download this
    sub StartTag {
      my ($expat,$eltype)=@_;
    ...
        $source[$i] = $_{t};
      } else { die "invalid element: $eltype"; }
    }