Hi Moritz,
I have to add certian place holders on top of the components in the page so that my perl knows where to start and where to end extracting the htm snippet, they would be replaced by tag ssi includes for that snippet in the body of the page, after extraction of the components so that the Apache can process those snippets.
but my problem is how to dynamicaly extract those snippets and save them in different files
thanks again
You can probably search and replace with regular expressions. Or you can split it into pieces. But how exactly that works depends on how your markers look like.
Since you didn't provide any sample data but just a hand-waving description, the answer can only be equally hand-waving.