akm2 has asked for the wisdom of the Perl Monks concerning the following question:
a=shift;$a=~s/\\//g;$a=glob($a);$_=`cat $a`;print"Content-type: text/h +tml\n\n" ;while(/<!--#exec cgi="([^"]*)"-->/){$a=`$1`;$a=~s/\n/<br>\n/g; s/<!--#exec cgi="([^"]*)"-->/$a/}print;
is code I found on the net to handle SSI's. Im a little confused. This code is being applied on $a, right? That needs to change to my var name, yes? Or is all of this being applied to $_? if it is being applied to $HTMLLine?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: fake SSI
by tye (Sage) on May 01, 2001 at 23:23 UTC | |
|
Re: fake SSI
by dvergin (Monsignor) on May 01, 2001 at 23:56 UTC |