NodeReaper has asked for the wisdom of the Perl Monks concerning the following question:

  • Comment on I want to know how my perl program and my HTML can dynamicaly communicate?

Replies are listed 'Best First'.
Re: I want to know how my perl program and my HTML can dynamicaly communicate?
by Fastolfe (Vicar) on Jan 24, 2001 at 21:09 UTC
    HTML is a markup language. It doesn't "communicate". You're going to need to be a lot more explicit about what you're trying to do here (and by that I mean an end result) in order for us to help you.

    The CGI module can allow your Perl script to generate HTML on-the-fly, if that's what you're after.

      I just had my thought, a day too late. Using javascript (driven by the timer object) you could have the browser continuously refreshing GIF pictures provided by a perl program. Technically not HTML, but reading between the lines that's probably what he wanted.

      I reckon reaping the guys node was a little over the top... we've tolerated questions on apache and IIS before.

      Update: There was also a HTML extension I recall reading about that allowed the client to go and get data from databases and the like and present it on the webpage without the intervention of the html server. I wish I could remember what it was called. That would do the trick here too.

      ____________________
      Jeremy
      I didn't believe in evil until I dated it.