Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: How do you run a subroutine from inside HTML code?

by matija (Priest)
on Mar 15, 2006 at 16:39 UTC ( #536869=note: print w/ replies, xml ) Need Help??


in reply to How do you run a subroutine from inside HTML code?

Which is the name of the subroutine, the $index?

At first I thought you might be needing someting like HTML::Template or TemplateToolkit - that is, if you wanted to fill a space in the table with the result of the subroutine.

You'd call the subroutine as {$index}(), I think.

On second thought, you may be trying to do some AJAX related stuff. In that case, I suggest you look at CGI::Ajax


Comment on Re: How do you run a subroutine from inside HTML code?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://536869]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2015-07-04 22:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls