Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: SSI Emulation Library

by dws (Chancellor)
on Jan 14, 2001 at 11:43 UTC ( #51714=note: print w/replies, xml ) Need Help??


in reply to SSI Emulation Library

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://51714]
help
Chatterbox?
[Lady_Aleena]: james28909, I use get_data in a subroutine called movies.
[Lady_Aleena]: james28909, I put it at the top of my scratchpad, if you want to look at it.
[Lady_Aleena]: I remember being pretty proud of that little sub when I wrote it.
[james28909]: oh xD

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2017-05-24 04:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?