FILE ... TOC

Convert relative input file name to absolute

A macro extension can call this functions to convert a file name, which is probably given to the macro as argument, from relative to absolute.

For example jamal was invoked as

        perl jamal.pl test/test.jam output/test.html

then

       &jamal::input('incfil.jam')

will return

       test/incfil.jam

which is a file name that the module can use in Perl operators like open.

This function leaves the absolute file names intact.

FILE ... TOC