in reply to perl inside HTML


So, summarizing the other replies: not really.

The reason is that every modern browser includes a javascript interpreter built-in, but no browser (unless you use that unlikely plug-in mentioned above) includes a perl interpreter, and you need your code to be run client-side. javascript supports regular expressions so I suggest you just learn a little javascript.

You will have trouble with the open() call, though. Where do you expect the file to be? On the client's machine? On the server?

Replies are listed 'Best First'.
Re^2: perl inside HTML
by ramigi (Novice) on Dec 17, 2005 at 10:12 UTC
    Dear all,

    Thanks for all of your replies. Basically, both html file and the text file can be on the client side for someone who creates a web site, or on a server when the client enters a text (a comment typically) in a form field that has to appear in a second "confirmation" page.

    I don't really know any javascript, and from what I have seen so far it is more complicated than perl...

    Concerning the famous IE plug-in, does anybody know where to get it?

    Many Thanks,

    Rami Gideon