No such thing as a small change | |
PerlMonks |
Re: SSI Emulation Libraryby dws (Chancellor) |
on Jan 14, 2001 at 11:43 UTC ( [id://51714]=note: print w/replies, xml ) | Need Help?? |
chipmonk makes a very good point about multiple SSI directives on one line. You might consider doing something like:
$html =~ s/<!--#(.+?)-->/&expand_directive($1)/ge;
For some hints on fleshing out the other SSI directives, take a look at my SSI script. You're welcome to borrow the code.
In Section
Code Catacombs
|
|