Tables and functions ?

Lets say I have a table with :
[lua]
table = {
“example”,
"function setHealth(ply)
ply:SetHealth(250)
end
"
}
[/lua]
Is it possible to run the function setHealth ?
Somthing like :

ServerDoFunction(table[2]) // Pseudocode ofcourse


table[2](args)

But only if the function is anonymous. Look at Overv’s post below to see how to do it with named fuctions.

[lua]local tbl = {
setHealth = function( ply ) ply:SetHealth( 20 ) end,
kill = function( ply ) ply:Kill( ) end
}

tbl.setHealth( ply )
tbl.kill( ply )[/lua]

Thanks