in reply to How do you run a subroutine from inside HTML code?
and I had to remove the & from $index so instead of $index = &login it is now $index = loginforeach $index (keys %{$_[0]}){ print "<TD WIDTH=\"$table_vars{$index}\">\n"; &$index(); print "</TD>\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How do you run a subroutine from inside HTML code?
by Anonymous Monk on Mar 15, 2006 at 20:54 UTC | |
|
Re^2: How do you run a subroutine from inside HTML code?
by Anonymous Monk on Mar 15, 2006 at 20:56 UTC |