[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 350
  • Last Modified:

using include file for perl

Is there a way to include perl script into HTML as an include file? If so please let me know how to go about doing it.
0
ghgan
Asked:
ghgan
  • 2
1 Solution
 
shlomoyCommented:
there is "embeded perl"
0
 
dougisCommented:
If your webserver is configured to allow it you can use SSI to include a perl script.
From an SHTML file running on Apache 1.3.19
<!--#include virtual="/cgi-bin/axprodlist.cgi"-->
and the results of the cgi show up in the file. Simply replace /cgi-bin/axprodlist.cgi with your cgi call.
Hope that helps.
0
 
ghganAuthor Commented:
Unfortunately, I am using WINNT2000
0
 
dougisCommented:
Which Webserver are you running though (IIS I assume) I am pretty certain it will also allow SSI commands like the one I gave you (just needs to be set up properly to allow it)
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now