I'm a beginner trying to use perl to display web content. I'd like to call a subroutine from a button or link. Can anyone help me with the syntax?
Here's an example of what I'm doing wrong:
print "<a href=", &sub(192.168.1.1), ">Click here</a>"
The &sub() takes the argument, determines and stores its status as a global string.
Thanks in advance.
Here's an example of what I'm doing wrong:
print "<a href=", &sub(192.168.1.1), ">Click here</a>"
The &sub() takes the argument, determines and stores its status as a global string.
Thanks in advance.