eval "${pack}->function()";
Why not just
$pack->function(); [download]
In reply to Re: symbolic reference + inheritance by almut in thread symbolic reference + inheritance by toddfreed