*
Metamerge logo
Search

Advanced Search
*
*
*
* HOME DOCUMENTS & RESOURCES DOWNLOADS EARLY TECH ACCESS SUPPORT FAQ KNOWN ISSUES OLD VERSIONS
*
Perl Example
These two procedures simply read/dump a whole line.  A more advanced script would of course manipulate the $_ object.
We assume a Connector attribute called Line and us writing the writeEntry and readEntry  necessary to write a Parser. (see Script Parsers)
sub writeEntry{    
    $result = $entry->getString("Line");
     $out->write ( $result );
}

sub readEntry{
    $_ = $inp->readLine();
    $entry->setAttribute("Line", $_);
}

 

*
  Metamerge Integrator version 4.5 ©Copyright Metamerge AS 2000-2002 Last edited 2002-04-30 contact us