sgmlspl uses a special perl5 library SGMLS::Output for
printing text. SGMLS::Output exports the subroutines
output(
When you want to write data to somewhere other than STDOUT (the default), then you use the subroutines push_output and pop_output to set a new destination or to restore an old one.
You can use the SGMLS::Output package in other programs by adding the following line:
use SGMLS::Output;David Megginson <dmeggins@aix1.uottawa.ca>