HeaderDoc Unfettered: Running the Scripts using MacPerl

## Running the Scripts using MacPerl

Most of HeaderDoc runs on Mac OS 9 and earlier assuming MacPerl is installed. (You can get MacPerl from the CPAN ports page.) Here's what you need to do to run HeaderDoc using MacPerl:

- Change the line endings in the scripts and modules (*.pm files) from UNIX to Macintosh. Many text editors (BBEdit, for example) let you easily change line ending types.
- Run MacPerl, open headerDoc2HTML.pl and gatherHeaderDoc.pl and save them as droplets. You might save them with a different names (say, the script names minus the “.pl” extensions) to preserve the original versions.
- Now, you can drag a header file or folder of header files on each droplet in turn, and the files will be processed in place.

Note: Some advanced features, including automatic linking, man page output, and XML output will not work in Mac OS 9, as these require `libxml2`, which is only available for UNIX-based and UNIX-like systems.

© 1999, 2004 Apple Computer, Inc. All Rights Reserved. (Last updated: 2004-05-27)