mif.pl

#

mif.pl

A Perl library that parses Frame Maker Interchange Format (MIF).

## Audience

I assume the reader knows about the scope of packages and how to access variables/subroutines defined in packages. If not, refer to perl(1) or any book on Perl.

The reader should be familiar with MIF. If not, refer to FrameMaker/Builder documentation.

Unless stated otherwise, ALL Perl variables mentioned are within the scope of package mif.

## Usage

If installed correctly, the following Perl statement can be used to access the mif library routines:

`require "mif/mif.pl";`

The following routines are defined:

### Read Routines

- main'MIFread_mif The heart of the mif.pl library. `MIFread_mif` breaks down the MIF into "token/data" components, and then calls registered token callback routines defined by the library user to process the data portion of the MIF.

### Write Routines

- main'MIFwrite_open
- main'MIFwrite_close
- main'MIFwrite_statment
- main'MIFwrite_str_statment
- main'MIFescape_string