in reply to Adding contents of a file into another

Give HTML::Template and/or Template a look. I do that sort of thing from CGI all the time.

Instead of emitting the resultant merged HTML to STDOUT for display on a browser you can instead write the results to a file.


Peter L. Berghold -- Unix Professional
Peter at Berghold dot Net
   Dog trainer, dog agility exhibitor, brewer of fine Belgian style ales. Happiness is a warm, tired, contented dog curled up at your side and a good Belgian ale in your chalice.
  • Comment on Re: Adding contents of a file into another