SnaveBelac
Programmer
I understand how to include a file into a Perl genereated web page and am using the the following code...
Does anyone know of any way that the included file can be a processed *.asp file? I would like to include a header but there is some conditional processing that needs to go on to show the relevent images etc. I am thinking that this is not possible but I would like to be sure... I have a web server running IIS5.0 and ActivePerl 5.8
Any help would be much appreciated
----------------------------
SnaveBelac - Adventurer
----------------------------
Code:
sub include {
my $filename = shift;
open(FH, "<$filename") || die "cannot open $filename: $!\n";
while (<FH>){
print $_;
}
close FH;
}
Does anyone know of any way that the included file can be a processed *.asp file? I would like to include a header but there is some conditional processing that needs to go on to show the relevent images etc. I am thinking that this is not possible but I would like to be sure... I have a web server running IIS5.0 and ActivePerl 5.8
Any help would be much appreciated
----------------------------
SnaveBelac - Adventurer
----------------------------